Ad is not visible. Not refreshing add. Scheduling ad refresh 60000 miliseconds from now

后端 未结 2 1798
無奈伤痛
無奈伤痛 2020-12-19 16:02

I am having some CPU usage when my app is backgrounded and the only message I am receiving at Logcat is coming from Adview with the typical:

\"Ad is n

2条回答
  •  自闭症患者
    2020-12-19 16:39

    I think you only need adView.pause(); in onPause() method:

    @Override
    protected void onPause() {
        adView.pause();
        super.onPause();
    }
    

    and adView.resume(); in onResume() method:

    @Override
    protected void onResume() {
        super.onResume();
        adView.resume();
    }
    

    Update: I think is an issue reported to google: https://groups.google.com/forum/#!topic/google-admob-ads-sdk/jz-ZQh86lm0

提交回复
热议问题