Jump to content
Melson

Cordova iap

Recommended Posts

I have your template for iap and admob, I can buy a product and remove the ads, but if I reinstall the app I cannot restore the purchase and set variabel to 1 in ads_removed how can i call the restore variabel?

I what to do this automatic not with a button restore

  • Like 1

Share this post


Link to post
On 13.2.2017 at 6:05 PM, Melson said:

I have your template for iap and admob, I can buy a product and remove the ads, but if I reinstall the app I cannot restore the purchase and set variabel to 1 in ads_removed how can i call the restore variabel?

I what to do this automatic not with a button restore

Hi @Melson

Thank you for your post and sorry for my late respone. Just tag me in your post, so I get notifed.

What template have you purchased? Then I'll make an update including an automatic restore function.

Regards

Andy

Share this post


Link to post

Sorry for bad english use translate google.
I have a similar Problem using v1.7.1 (cranberrygame_CordovaIAP_2.0.48), gather in the Intel XDK

After the re-start of the game, the condition (On purchase product succeeded) - can not find the obtaining of a product.

Share this post


Link to post
On 25.2.2017 at 8:27 AM, Alexandr Ivanov said:

 How do I check the purchased product please explain?

Hi,

you just need to call "Restore Purchases" on start of your game.

Then add to the trigger

"On Restore Purchases succceeded"

-> "Has Product 'YOUR_ID'" --> The same actions as on "Purchase succeeded".

Regards

Andy

Share this post


Link to post
5 hours ago, Alexandr Ivanov said:

Thank you figured out :)

Glad to hear that. Let me know if you have any further questions.

Regards
Andy

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy, Terms of Use, We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. & Guidelines.