deepLinkToSubscriptions
Open the native subscription management interface where users can view and manage their subscriptions.
iOS: Calls AppStore.showManageSubscriptions(in:) with the active UIWindowScene; throws if no window scene is available. Not supported on tvOS or watchOS. On macOS, opens https://apps.apple.com/account/subscriptions in the default browser and returns after the browser is launched. Apple docs. Android: Opens the Play Store subscription management deep link https://play.google.com/store/account/subscriptions?package=<pkg>&sku=<sku>. Google docs.
Signature
func deepLinkToSubscriptions(_ options: DeepLinkOptions?) async throwsParameters#
Pass an optional DeepLinkOptions:
skuAndroid(optional,string) — Android. Subscription SKU to deep-link to. Without it the user lands on the generic Play subscriptions page.packageNameAndroid(optional,string) — Android. Defaults to the host app's package; override only when proxying for another app.
iOS ignores all fields — the wrapper calls AppStore.showManageSubscriptions(in:) with the active UIWindowScene.
Returns#
Promise<void> — Resolves when the system surface is presented (or the deep link is opened on Android).
Throws#
iOS: When no UIWindowScene is available.
Example
try await OpenIapModule.shared.deepLinkToSubscriptions(nil)Live example: expo-iap · react-native-iap · flutter_inapp_purchase · kmp-iap