Error when upgrade/downgrade subscription on Android
Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.
Version of react-native-iap
"react-native-iap": "^6.0.0"
Version of react-native
"react-native": "0.62.2"
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
When upgrade/downgrade a subscription ,current subscription must replaced with new sku and new purchase token.
Actual behavior
Triggering new subscription along with old one (we can see two subscriptions(skus) same time).
Tested environment (Emulator? Real Device?)
Real Device - sandbox
Steps to reproduce the behavior
-
Initiate one subscription
-
Upgrade/Downgrade the subscription with the function call requestSubscription(newSku,false,oldSku,oldPurchaseToken,4) ( 4: DEFERRED)
-
subscription prompt will show (like new subscription along with the old one).
@JERRINTKG could this be a duplicate of https://github.com/dooboolab/react-native-iap/issues/888 ?
@andresesfm Thanks this can be closed.