Search Unity

Advertisement.IsReady() is not reliable

Discussion in 'Unity Ads & User Acquisition' started by Aladine, Oct 30, 2017.

  1. Aladine

    Aladine

    Joined:
    Jul 31, 2013
    Posts:
    195
    Hello,

    I want to be able to tell if the RewardAd is Available so can either enable or disable the button that will call the reward ad, and i was just testing with this code (in Update)

    Code (CSharp):
    1. reviveAdsButton.SetActive (Advertisement.IsReady ());
    And it works and it kinda doesn't, for example if i turn the internet off from the device, and launch the game, that button is indeed disabled, however, if i open the game with internet on, show a couple of Ads, then turn off the internet, that button will still be active, however when tapping on it, nothing happens.

    Is there a way around this please ?

    Thank you