Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

About request.setTesting(true) code line

Tags:

android

admob

I want to include admob in my android PhoneGap app.

To include admob, I referred link https://github.com/sainttex/PhoneGap-Android-Native-AdMob

My question is about below code line.

request.setTesting(true);

Must I remove that code line when app on market?

like image 229
user2096812 Avatar asked Mar 12 '13 10:03

user2096812


2 Answers

See this in the link provided by you

Step 6) Disable Testing Mode

Be sure to disable testing mode before deploying to Google Play by changing the value to false, commenting out or deleting the following line from your MainActivity.java

request.setTesting(true);
like image 104
Nirali Avatar answered Oct 23 '22 19:10

Nirali


In admob admin interface there is checkbox to treat testmode requests as regular requests.

like image 30
Artem Avatar answered Oct 23 '22 21:10

Artem