Announcement

Collapse
No announcement yet.

In-App purchase google play to disable ads.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    In-App purchase google play to disable ads.

    Is it possible to make a request that the player has already made a purchase(product identifier)? Or save some bool about it in google play services and retrieve it(thinking about adding Achievement(after successful purchase) and use 'Get Cached Achievement Value')? I don't want to save it in 'SaveGame', because what if player is going to change phone/memory card or is going to fully delete app(with save file included). Sorry for mistakes.

    #2
    You can use the Restore Purchase node and drag from the green pin and do Switch on ENUM, then you can make custom logic for "Already Owned", this fetches data from that account. As a fail-safe I implemented a save game for it too, it gets stored right after purchase and is used from that point onward. In case there is no internet access so that it doesn't lockout from already purchased DLC.
    FPS Game Starter Kit
    Retro Game Starter Kit
    Quiz Game Starter Kit
    Twin Stick Game Starter Kit

    Comment


      #3
      Thanks a lot!

      Comment

      Working...
      X