Use this page with AI

Copy this into your coding assistant and add your request.

Read https://openiap.dev/docs/apis/ios/show-manage-subscriptions-ios and https://openiap.dev/llms.txt. Follow the reading instructions, detailed reference, and linked guides relevant to my task before making changes.
Inspect my existing project and reuse its framework and conventions. Ask me for missing product decisions. Implement the requested behavior and run the applicable checks.
Show the working result, the commands and actual test results, and any remaining limitations. Keep your explanation brief.

My request: [describe what customers should be able to do]
See an example request →

iOS showManageSubscriptionsIOS

Show in-app subscription management UI and detect status changes (iOS 15+). Returns purchases for subscriptions whose auto-renewal status changed.

Opens Apple's subscription-management surface for the user. The current iOS implementation forwards to the module's deepLinkToSubscriptions(nil) path, which calls AppStore.showManageSubscriptions(in:) with the active UIWindowScene; if no scene is available the call throws instead of falling back to a URL. Because the macOS browser fallback cannot wait for or observe changes made outside the app, this change-detection API is not supported on macOS. iOS 15+. See the Apple StoreKit reference.

Signature

swift
func showManageSubscriptionsIOS() async throws -> [PurchaseIOS]

Returns#

Promise<PurchaseIOS[]> — purchases whose status changed while the manage-subscriptions sheet was on screen (e.g. cancelled or auto-renew toggled). Empty array when nothing changed.

Example

swift
let changed = try await OpenIapModule.shared.showManageSubscriptionsIOS()