V1.0.1(2)添加debugkey
This commit is contained in:
parent
6e83590320
commit
df8beb0ea7
@ -7,10 +7,9 @@ import android.util.Log;
|
||||
|
||||
import com.anythink.core.api.ATSDK;
|
||||
import com.anythink.core.api.NetTrafficeCallback;
|
||||
import com.google.firebase.FirebaseApp;
|
||||
import com.prank.happypranksounds.data.dao.HappyDataDao;
|
||||
import com.prank.happypranksounds.data.entity.HappyData;
|
||||
import com.prank.happypranksounds.data.database.AppDatabase;
|
||||
import com.prank.happypranksounds.data.entity.HappyData;
|
||||
import com.prank.happypranksounds.data.repository.HappyRepository;
|
||||
import com.prank.happypranksounds.topon.AdManager;
|
||||
import com.prank.happypranksounds.util.JsonParser;
|
||||
@ -28,6 +27,7 @@ public class MyApplication extends Application {
|
||||
|
||||
private static final String AppKey = "a4a9832507013e232aa082b95e6eda7e6";
|
||||
private static final String APPId = "h67c12f6782254";
|
||||
private static final String DebugKey = "62eed2fbebbb41fdc21186f66533e9d2904185ce";
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
@ -55,6 +55,7 @@ public class MyApplication extends Application {
|
||||
preferences.edit().putBoolean(KEY_INITIALIZED, true).apply();
|
||||
}
|
||||
}
|
||||
|
||||
private void initSdk() {
|
||||
|
||||
ATSDK.checkIsEuTraffic(this, new NetTrafficeCallback() {
|
||||
@ -74,10 +75,11 @@ public class MyApplication extends Application {
|
||||
}
|
||||
});
|
||||
|
||||
ATSDK.init( this, APPId, AppKey);
|
||||
ATSDK.init(this, APPId, AppKey);
|
||||
AdManager.loadAllAd();
|
||||
//测试工具
|
||||
// ATDebuggerUITest.showDebuggerUI(this,debug_KEy);
|
||||
// ATDebuggerUITest.showDebuggerUI(this,DebugKey);
|
||||
//anythink
|
||||
// ATSDK.setNetworkLogDebug(true);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user