I currently have a free game with ads but I would like to include an option for players to remove ads. I am thinking to set up a global variable like ispurchased and use local storage to remember the value.
The thing is, how do I detect when the player has purchased the option to remove ad? Is there a plugin that does this? I've been looking around for guide and there's only one that's using CocoonJS .. I am building my game using Intel XDK.