Reward Video check
swanyboy
Member Posts: 38
Is there a way to make the game check if there is Internet to show the reward button? I don't want there to be a button in my game that doesn't work if they're not connected. And also when they've watched 20 times, is there a way to stop showing the button? Would I have to do this with a server involved?
Comments
Currently not @swanyboy, this issue has been raised a few times.
@GeorgeGS is aware of this need, but they need to find a generic way to make it work for all ad providers.
Over and above just wanting to know if the user is online and is below their 20 ads/day limit, it is also necessary to know if there are even ads available at that time and region.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Alright thanks @Hopscotch
@swanyboy, I have added a bug for this:
http://bugs.gamesalad.com/show_bug.cgi?id=1674
Due to the crucial nature of this issue, I have added it as a bug, not as a feature request.
We need to keep the pressure on on this one.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Commented! Can I also vote, or is that just for features?
@Hopscotch I haven't tested the video reward ads system yet, however, does this mean if a player enables "Airplane mode" disconnecting from the internet entirely, can they then be rewarded without even viewing a video ad?
The reward is only given when the ad provider confirms it was fulfilled. No network, no reward.
@GeorgeGS Awesome! That works for me
Voted! But I hope we don't really need to vote on this because it's such a crucial part of rewarded ads. Right now I wouldn't use them under any circumstances because I'd never put a button in my games that sometimes works and sometimes doesn't do anything at all with no possibility to give the player any feedback.
@Hoodloc - I'm using a bit of a work around that gives feedback and is working fine (although not allowing the player to attempt to view an ad if it isn't available would be far better!).
Basically I'm calling for the reward ad by pausing the game. On my pause screen after a couple of seconds I have a popup that appears and depending on what value has been returned it gives feedback... so if the value is 0 (no reward ad delivered) I then say something like "We could not play your video at this time, please try again later", other wise it indicates that the reward ad has been successful.
@DigiChain, how do you differentiate between no video and a cancelled view?
Added to this, how would you decide on how long to wait for a response? On a bad mobile connection, the callback answer can take a minute to come back with a positive response.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Somewhere within the Chartboost settings I believe there was an option you could choose where the player wouldn't be able to cancel a video once it was playing - so this won't be an issue. Just looked but can't find where that was now.
You've got a point about bad mobile connections - I've given it 3 seconds on the pause screen before the popup appears.
It's rough and ready I know, but for now it's a way to do it!
The other issue you have is the value doesn't fill until the video has finished playing. So your button will appear even if the video plays.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@Lost_Oasis_Games - Yes thats true, but since the video covers up the button/text popup whilst playing the user is unaware of it. When the video finishes playing and closes it return the value and the pop-up changes to 'Success'.
I've only tested it on my nexus 7 device but all works as expected.
Okay good. Just wanted to make sure you you aware of that
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS