Nepeo Sorry. Here is the code I used:
+ System: On start of layout
-> MobileIAP: Set public key to "longstringoflettersandnumbers"
-> MobileIAP: Add product ID "adfree_10_2019" with type Non-consumable
-> MobileIAP: Complete product registration
+ MobileIAP: On store registration success
-> Browser: Log in console: "IAP Registration SUCCESS"
-> Functions: Call LoadFiles
+ MobileIAP: On store registration failed
-> Browser: Log in console: "IAP ERROR: "&MobileIAP.ErrorMessage
-> Functions: Call LoadFiles
LoadFiles loads the AJAX files I use and then goes to next layout. I used it on Start of Layout before I added IAP and just added the IAP registration and then the registration success/error triggers to continue after IAP is initialized.
But it does not continue and just stays at the first layout forever after adding the IAP part. Even after publishing it to internal test branch on Google Play (dont know if it will work on debug apk but if it doesnt work it should trigger on error?) but it's the same as in my local debug apk.
PS: Any chance to add subscriptions to the IAP plugin? :)