Commit 006cd91c by sikang

channel test

parent b71f7437
...@@ -116,11 +116,14 @@ dependencies { ...@@ -116,11 +116,14 @@ dependencies {
//facebook accountKit SDK //facebook accountKit SDK
api 'com.facebook.android:account-kit-sdk:4.37.0' api 'com.facebook.android:account-kit-sdk:4.37.0'
//SDK-CHANNEL-START
// //kochava //kochava
// api 'com.kochava.base:tracker:3.6.0' api 'com.kochava.base:tracker:3.6.0'
// //Optional: Instant App Status Collection //Optional: Instant App Status Collection
// api 'com.google.android.instantapps:instantapps:1.1.0' api 'com.google.android.instantapps:instantapps:1.1.0'
//mixpanel
api 'com.mixpanel.android:mixpanel-android:5.+'
//SDK-CHANNEL-END
//魔蝎 //魔蝎
// api 'com.moxie:moxie-client-inter:1.1.6.2' // api 'com.moxie:moxie-client-inter:1.1.6.2'
...@@ -131,8 +134,7 @@ dependencies { ...@@ -131,8 +134,7 @@ dependencies {
//AppsFlyer //AppsFlyer
// api 'com.appsflyer:af-android-sdk:4+@aar' // api 'com.appsflyer:af-android-sdk:4+@aar'
//mixpanel
// api 'com.mixpanel.android:mixpanel-android:5.+'
//zendesk //zendesk
api group: 'com.zendesk', name: 'support', version: '2.1.1' api group: 'com.zendesk', name: 'support', version: '2.1.1'
......
...@@ -24,8 +24,11 @@ import tech.starwin.utils.event_bus.EventSender; ...@@ -24,8 +24,11 @@ import tech.starwin.utils.event_bus.EventSender;
public class InstallReferrerReceiver extends BroadcastReceiver { public class InstallReferrerReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent data) { public void onReceive(Context context, Intent data) {
// new com.mixpanel.android.mpmetrics.InstallReferrerReceiver().onReceive(context, data); //SDK-CHANNEL-START
// new com.kochava.base.ReferralReceiver().onReceive(context, data); new com.mixpanel.android.mpmetrics.InstallReferrerReceiver().onReceive(context, data);
new com.kochava.base.ReferralReceiver().onReceive(context, data);
//SDK-CHANNEL-END
PreferencesManager.get().saveInstallReferrer(getReferrerValue(data.getExtras())); PreferencesManager.get().saveInstallReferrer(getReferrerValue(data.getExtras()));
} }
......
...@@ -93,6 +93,7 @@ public class LibConfig { ...@@ -93,6 +93,7 @@ public class LibConfig {
return CONTEXT; return CONTEXT;
} }
/** /**
* 初始化 BaseLibrary * 初始化 BaseLibrary
*/ */
...@@ -111,8 +112,13 @@ public class LibConfig { ...@@ -111,8 +112,13 @@ public class LibConfig {
LibConfig.ROOT_DIR = LibConfig.APP_NAME; LibConfig.ROOT_DIR = LibConfig.APP_NAME;
} }
// public static final String MIXPANEL_TOKEN = "8d7cc843b3c027ccab6288e55d99edbc";
// MixpanelAPI.getInstance(application, MIXPANEL_TOKEN); //SDK-CHANNEL-START
com.mixpanel.android.mpmetrics.MixpanelAPI.getInstance(application, "8d7cc843b3c027ccab6288e55d99edbc");
com.kochava.base.Tracker.configure(new com.kochava.base.Tracker.Configuration(application)
.setAppGuid("kobackup-master-oxv8ltm")
);
//SDK-CHANNEL-END
//屏幕适配(360dp宽度限定) //屏幕适配(360dp宽度限定)
...@@ -184,7 +190,6 @@ public class LibConfig { ...@@ -184,7 +190,6 @@ public class LibConfig {
} }
/** /**
* 用于在Base 中 实现Butterknife.bind()的功能 * 用于在Base 中 实现Butterknife.bind()的功能
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment