Possible to use a single function from react-native-IAP? #2128
Unanswered
mj-schmitz
asked this question in
Q&A
Replies: 2 comments 6 replies
-
try getting products/subscriptions before |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have fixed what I thought was the problem with my handling of the promise. Here is the code I would assume to work:
However, this also gives undefined. What is the sku I should be putting into the function, this should return the value correct? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have implemented expo-IAP in my app and can purchase the subscription. However, there is no way to check subscription status using EXPO. I am hoping to use this react-native-IAP package so I can simply call subscriptionStatus using storekit2 and check the status. That is the only thing I wish to implement.
Is it possible to simply call this so I can get a true/false?
Here is the current implementation I have, and I get undefined when trying to read it.:
and if I don't stringify, I get the following :
{"_1":0,"_2":0,"_3":null,"_4":null}status
or
undefinedstatus
Is there a way to do this without implementing an entire workflow for IAP?
Beta Was this translation helpful? Give feedback.
All reactions