Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProrationMode to SubscriptionUpdateParams.ReplacementMode - android #2773

Open
ivannzme opened this issue Jun 18, 2024 · 2 comments
Open

ProrationMode to SubscriptionUpdateParams.ReplacementMode - android #2773

ivannzme opened this issue Jun 18, 2024 · 2 comments
Labels
🤖 android Related to android 🕵️‍♂️ need more investigation Need investigation on current issue

Comments

@ivannzme
Copy link

Please use the Discussion board if you want to get some help. Please use issues to report bugs.

Google has deprecated BillingFlowParams.ProrationMode and mentioned that to use BillingFlowParams.SubscriptionUpdateParams.ReplacementMode, wondering if this will be in the next upcoming releases?

To use BillingFlowParams.SubscriptionUpdateParams.ReplacementMode in android/src/play/java/com/dooboolab/rniap/RNIapModule.kt

image
@hyochan
Copy link
Member

hyochan commented Jun 18, 2024

I am waiting for someone to try this #2764. I am not using this library in any of my project so I need help.
You may try this by npm install react-native-iap@next

@hyochan hyochan added 🤖 android Related to android 🕵️‍♂️ need more investigation Need investigation on current issue labels Jun 18, 2024
@ivannzme
Copy link
Author

npm install react-native-iap@next

Hi Hyochan, tried with your changes and seems to be working as expected from the user's point of view, can upgrade/downgrade the product from monthly to yearly or the other way around while using the deferred option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Related to android 🕵️‍♂️ need more investigation Need investigation on current issue
Projects
None yet
Development

No branches or pull requests

2 participants