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
Cancel subscription on iOS and Android #679
Comments
User can do this in their |
For both iOS and Android you cannot cancel subscriptions inside the app. You need to direct your users to iTunes/the App Store or Google Play. You can do this on iOS: Linking.openURL('https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions') You can do this on Android (change Linking.openURL('https://play.google.com/store/account/subscriptions?package=YOUR_PACKAGE_NAME&sku=YOUR_PRODUCT_ID |
Might be good to add this to the readme. As this is typically something you want to know when you start developing on in app purchases. I've updated my answer a little bit, as the way to present this to your users is exactly the same on iOS ánd Android. |
I don't know if this is something that changed recently, but I've just tested and this redirects to install iTunes app. After some research I got to this new solution:
|
If you're landing on this page and want the current solution, here's the readme section: https://github.com/dooboolab/react-native-iap#how-can-a-user-cancel-a-subscription-in-my-app |
@lukewlms I think that link is dead. I did find this though.. I also used this in my app if (Platform.OS === 'ios') {
Linking.openURL('https://apps.apple.com/account/subscriptions');
} else {
Linking.openURL('https://play.google.com/store/account/subscriptions');
} |
How to implement cancel subscription on iOS and Android? Does it possible make by this library? Thank you
The text was updated successfully, but these errors were encountered: