dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.81k stars 641 forks source link

Question: How to request upgrade and downgrade of subscription in ios and android? #1099

Closed rizshivalli closed 3 years ago

rizshivalli commented 4 years ago

Version of react-native-iap

^4.5.0

Version of react-native

0.63.0

Platforms you faced the error (IOS or Android or both?)

Both iOS and Android

Expected behavior

Not applicable

Actual behavior

not applicable

Tested environment (Emulator? Real Device?)

Rel Device

Steps to reproduce the behavior

I have gone through the documentation and could not find any references to upgrade and downgrade of subscription on both Android and iOS.

if you have any references please share.

regards

stale[bot] commented 3 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

stale[bot] commented 3 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

andresesfm commented 3 years ago

Look in here: https://github.com/dooboolab/react-native-iap/blob/master/README.md search for requestSubscription the key is to pass the new sku and the oldSkuAndroid in the same call. Please reopen if needed