You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating our app SDK to Adapty 3.3.1, we encountered the following error consistently with all calls to Adapty.makePurchase(product: product):
Failed to purchase product: <product_id> Request Canceled
v3.3.1, Adapty/SK2Purchaser.swift#175
Completed makePurchase(product:) [bHNHTU] with error: StoreKitManagerError.productPurchaseFailed([3.3.1]: Adapty/SK2Purchaser.swift#176, userCancelled).
v3.3.1, Adapty/Adapty+Shared.swift#66
Verbose logging provides additional context:
Could not get confirmation scene ID for <product_id> purchase
Upon investigating further, it appears that StoreKit 2 introduces new requirements for displaying a confirmation scene starting with iOS 18.2. Apple has added a new parameter, confirmIn, for these cases, which is used to specify the confirmation scene’s location: Apple StoreKit Documentation: purchase(options:)
Unfortunately, as of Adapty SDK version 3.3.1, it is not possible to pass the confirmIn parameter to meet these new requirements.
Suggested Resolution: The SDK should provide a way to specify confirmIn for StoreKit purchase calls. Please consider adding support for the confirmIn parameter.
Could not get confirmation scene ID for <product_id> purchase
Failed to purchase product: <product_id> Unable to Complete Request
v3.3.1, Adapty/SK2Purchaser.swift#175
Completed makePurchase(product:) [uW1R0i] with error: StoreKitManagerError.productPurchaseFailed([3.3.1]: Adapty/SK2Purchaser.swift#176, unknown).
v3.3.1, Adapty/Adapty+Shared.swift#66
Apple seems to have broken the purchase(options:) method for some layouts in iOS 18.2. We plan to support the new purchase(confirmIn:options:) method in future releases. As a workaround, please use modalPresentationStyle = .overFullScreen for UIKit controllers or set fullScreen: false for SwiftUI.
After updating our app SDK to Adapty 3.3.1, we encountered the following error consistently with all calls to Adapty.makePurchase(product: product):
Verbose logging provides additional context:
Upon investigating further, it appears that StoreKit 2 introduces new requirements for displaying a confirmation scene starting with iOS 18.2. Apple has added a new parameter, confirmIn, for these cases, which is used to specify the confirmation scene’s location: Apple StoreKit Documentation: purchase(options:)
Unfortunately, as of Adapty SDK version 3.3.1, it is not possible to pass the confirmIn parameter to meet these new requirements.
Suggested Resolution: The SDK should provide a way to specify confirmIn for StoreKit purchase calls. Please consider adding support for the confirmIn parameter.
Relevant thread from Apple dev forums: https://forums.developer.apple.com/forums/thread/768410
The text was updated successfully, but these errors were encountered: