补充
This commit is contained in:
parent
c28cc5b3b9
commit
51dac754d0
@ -124,6 +124,8 @@ public class AppContext extends CommonAppContext {
|
||||
private static final class AdjustLifecycleCallbacks implements ActivityLifecycleCallbacks {
|
||||
@Override
|
||||
public void onActivityResumed(@NonNull Activity activity) {
|
||||
Adjust.onResume();
|
||||
|
||||
Log.e("打招呼定时器", "onActivityResumed: " + activity);
|
||||
MessageChatNotifyManager.getInstance().restart(activity);
|
||||
if (activity instanceof LiveActivity) {
|
||||
@ -175,6 +177,7 @@ public class AppContext extends CommonAppContext {
|
||||
|
||||
@Override
|
||||
public void onActivityPaused(@NonNull Activity activity) {
|
||||
Adjust.onPause();
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -448,7 +451,7 @@ public class AppContext extends CommonAppContext {
|
||||
// FaceManager.initFaceUnity(this);
|
||||
//初始化Adjust
|
||||
String appToken = "d6m0zj5a3k00";
|
||||
String environment = AdjustConfig.ENVIRONMENT_SANDBOX;
|
||||
String environment = AdjustConfig.ENVIRONMENT_PRODUCTION;
|
||||
AdjustConfig config = new AdjustConfig(this, appToken, environment);
|
||||
config.setLogLevel(LogLevel.VERBOSE);
|
||||
Adjust.onCreate(config);
|
||||
|
@ -270,4 +270,5 @@ dependencies {
|
||||
api 'com.android.installreferrer:installreferrer:2.2'
|
||||
// Add the following if you're using the Adjust SDK inside web views on your app
|
||||
api 'com.adjust.sdk:adjust-android-webbridge:4.38.5'
|
||||
api 'com.google.android.gms:play-services-appset:16.0.2'
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ ext {
|
||||
buildToolsVersion: "29.0.2",
|
||||
minSdkVersion : 23,
|
||||
targetSdkVersion : 34,
|
||||
versionCode : 546,
|
||||
versionCode : 548,
|
||||
versionName : "6.8.0",
|
||||
namespace : "com.pandoralive.shayu"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user