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
Since migrated to StoreKit2.
I have to make sure did call getSubscriptions() DONE, before call getAvailablePurchases(), or it will return empty []. Is this expected?
I also find out if an user was in subscribed with sku: abc
When
getSubscriptions({skus: [abc,xyz],}),
then getAvailablePurchases() works
but
if
getSubscriptions({skus: [xyz],// removed abc}),
then getAvailablePurchases() return empty [], that causing my client (subscribed to abc) lost their subscription unexpectedly
Expected Behavior
getAvailablePurchases() should returns all available purchase (consumable, non-consumable,..) regardless of it's in array sku or not.
Environment:
react-native-iap: 12.15.7
react-native: expo 51
Platforms (iOS, Android, emulator, simulator, device): iOS production and sandbox
The text was updated successfully, but these errors were encountered:
Since migrated to StoreKit2.
I have to make sure did call getSubscriptions() DONE, before call getAvailablePurchases(), or it will return empty []. Is this expected?
I also find out if an user was in subscribed with sku: abc
When
then getAvailablePurchases() works
but
if
then getAvailablePurchases() return empty [], that causing my client (subscribed to abc) lost their subscription unexpectedly
Expected Behavior
getAvailablePurchases() should returns all available purchase (consumable, non-consumable,..) regardless of it's in array sku or not.
Environment:
The text was updated successfully, but these errors were encountered: