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
Please use the Discussion board if you want to get some help. Please use issues to report bugs.
Description
Hello, i found out that getAvailablePurchases() method not working with auto-renewable subscriptions in iOS StoreKit 2 mode and returns empty array. I tried to debug swift native code with this method and found next error. productStore.getProduct() verification not working with auto-renewable subscriptions.
Expected Behavior
getAvailablePurchases() method should return array of current user subscriptions.
I discovered that getAvailablePurchases() on ios works, BUT only after fetching all products from App Store. I don't think that is approach is best in this case. Also Android works without fetching products.
@mobilesmartdev In my current workaround i parse all existing in-app products and subscriptions with getSubscriptions() and getProducts() methods on the app launch. After this getAvailablePurchases() method works as expected.
Description
Hello, i found out that
getAvailablePurchases()
method not working with auto-renewable subscriptions in iOS StoreKit 2 mode and returns empty array. I tried to debug swift native code with this method and found next error.productStore.getProduct()
verification not working with auto-renewable subscriptions.Expected Behavior
getAvailablePurchases()
method should return array of current user subscriptions.Screenshots
Environment:
To Reproduce
Steps to reproduce the behavior:
Use
getAvailablePurchases()
method with active subscription in iOS StoreKit 2 mode[Optional] Additional Context
The text was updated successfully, but these errors were encountered: