googleads / googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
https://developers.google.com/admob/unity
Apache License 2.0
1.37k stars 1.08k forks source link

iOS ignoring methods #787

Closed flynetstudios closed 5 years ago

flynetstudios commented 6 years ago

Hi, my ads are working just fine in Android. In iOS, im using both methods, for pause the game and low the sound volume.

  public static void HandleInterstitialOpened(object sender, EventArgs args)
    {
      Time.timeScale = 0;
          AudioListener.volume= 0;
    }

    public static void HandleInterstitialClosed(object sender, EventArgs args)
    {
           Time.timeScale = 1;
           AudioListener.volume= 1;
    }

When the interstitial is closed, the sound don't back to normal volume and the game still paused.

rampara commented 5 years ago

@flynetstudios just to clarify, the issue you're experiencing is the OnAdClosed ad event is never fired for interstitials on iOS? Are you using the latest version of the plugin? Are you using mediation?

rampara commented 5 years ago

Closing due to non-response.