Did I implement everything necessary for IAP? #2780
Unanswered
MinchenSauer
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.
-
Hi,
I tried implementing IAP for a full version of my app. I went through the example application and put lots of effort and time into this code. Now, I am wondering whether I considered everything that is needed or whether I missed something.
For example, I was not sure how to handle IAP between multiple components like e.g. initializing the connection. In my Main Menu I need to know whether the full version has been purchased. If not, I need to implement purchasing the full version in another component. Therefore, I created an iapHelper.js which should handle everything. In my Main Menu I use
purchased
and in the other component I useconnected
andhandleBuyProduct
. Please find my code of this helper below:For iOS it seems to be working. I did not get it working on Android yet. So somewhere needs to be a bug still but I am confident to spot it at some point.
I am unsure now whether I considered everything necessary for IAP or whether I forgot something crucial. I would appreciate any help. Thank you for your support in advance.
Beta Was this translation helpful? Give feedback.
All reactions