Did I consider everything relevant to IAP? #2781
Unanswered
PatriciaSauer
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi,
I implemented IAP for the full version of my app and I am unsure whether I considered everything relevant or whether I missed something important. I used the example app and created an iapHelper.js file. The reason for this is that I am not sure how to use react-native-iap when I need it in multiple components. For example in the main menu I need to know whether the full version has been purchased. If not, I need to handle the purchase in another component. Please find the code for my iapHelper.js below:
I put lots of effort and time into understanding how this library works and into this code. Nevertheless, I am not sure whether I considered everything crucial for iap to work correctly (on Android and iOS), or whether I missed something important. It seems to be working on iOS but not an Android. But put that aside, is there comething crucial I forgot or implemented terribly wrong? Any help is appreciated. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions