Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

URL for managing subscription in iOS

A user has subscribed to my auto-renewable in app subscription. I want to provide a button called "Manage subscription".

This should jump to the App Store under the subscription management for my specific app.

What URL should I redirect to achieve this?

like image 823
Kasper Pihl Tornøe Avatar asked Nov 24 '13 15:11

Kasper Pihl Tornøe


2 Answers

This is the new URL that should be used:
https://apps.apple.com/account/subscriptions

like image 61
i4guar Avatar answered Sep 26 '22 07:09

i4guar


Based on account subscriptions URL provided by @i4guar, the below code is how I am navigating to the Account Subscriptions page using Swift 4.2. This is working for me on iOS 14.5.

if let url = URL(string: "https://apps.apple.com/account/subscriptions") {
    if UIApplication.shared.canOpenURL(url) {
        UIApplication.shared.open(url, options: [:])
    }
}
like image 36
JTODR Avatar answered Sep 25 '22 07:09

JTODR