I have an iOS game built with Cocos2D and C++. I want to make a small modification where you click a button to show an alert message. When the alert message gets clicked I want to give the player some coins for free.
The game already has coins, so you just have to add the coins to the score.
when clicked, The alert message will take the user to an appstore url.
The button will have an if-statement checking for a variable in a plist file on a server. If the value is TRUE, the alert will be shown, if it is FALSE an advertising will be called (this advertising call already exists).