-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
How to check which plan is user subscribed to #727
Comments
@sidpauhal This could be interesting. |
@kevinetore In android I am doing like this
I think this is not possible in IOS |
@sidpauhal Why wouldn't it be possible in iOS? If I'm correct I think you'd only need to figure out something for |
@kevinetore @hyochan can we get product id from ios receipt something like this |
@sidpauhal I am not sure about this. However, I've been saving |
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. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
I am looking for the same answer in Android. Please help. |
Receipt is always different everytime a user tries to purchase, even when the user is already subscribed to the product, a new receipt is generated 🥲, how do we go about that? |
Version of react-native-iap
"react-native-iap": "^3.4.4",
Version of react-native
"react-native": "0.60.5",
Platforms you faced the error (IOS or Android or both?)
both
I have added monthly autorenewal subscription plans in Google play dashboard
Silver, Gold, Platinum
I am subscribing users like this
const products = await RNIap.requestSubscription('gold_membership');
I want to check which plan is user subscribed to and display in app that he is a Gold or silver member.
As mentioned in docs RNIap.getAvailablePurchases(); returns all purchases
but I want to check which subscription plan is user currently subscribed to.
Any help, guidance ?
The text was updated successfully, but these errors were encountered: