Commit a8644d9e by sikang

close channel

parent 006cd91c
......@@ -117,12 +117,12 @@ dependencies {
api 'com.facebook.android:account-kit-sdk:4.37.0'
//SDK-CHANNEL-START
//kochava
api 'com.kochava.base:tracker:3.6.0'
//Optional: Instant App Status Collection
api 'com.google.android.instantapps:instantapps:1.1.0'
//mixpanel
api 'com.mixpanel.android:mixpanel-android:5.+'
// //kochava
// api 'com.kochava.base:tracker:3.6.0'
// //Optional: Instant App Status Collection
// api 'com.google.android.instantapps:instantapps:1.1.0'
// //mixpanel
// api 'com.mixpanel.android:mixpanel-android:5.+'
//SDK-CHANNEL-END
//魔蝎
......
......@@ -49,7 +49,7 @@ print ("params "+sys.argv[1] + " "+sys.argv[2])
for root, dirs, files in os.walk("../../app/src/main"):
directory = os.path.join(os.getcwd(), root)
for file in files:
if file.endswith(".java"):
if file.endswith(".java") or file.endswith(".gradle"):
# get the path of the java file
path = os.path.join(directory, file)
if sys.argv[1] == 'open':
......@@ -61,7 +61,7 @@ for root, dirs, files in os.walk("../../app/src/main"):
for root, dirs, files in os.walk("../../lib_base/src/main"):
directory = os.path.join(os.getcwd(), root)
for file in files:
if file.endswith(".java"):
if file.endswith(".java") or file.endswith(".gradle"):
# get the path of the java file
path = os.path.join(directory, file)
if sys.argv[1] == 'open':
......
......@@ -25,9 +25,9 @@ public class InstallReferrerReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent data) {
//SDK-CHANNEL-START
new com.mixpanel.android.mpmetrics.InstallReferrerReceiver().onReceive(context, data);
new com.kochava.base.ReferralReceiver().onReceive(context, data);
//SDK-CHANNEL-END
//SDK-CHANNEL-CODE new com.mixpanel.android.mpmetrics.InstallReferrerReceiver().onReceive(context, data);
//SDK-CHANNEL-CODE new com.kochava.base.ReferralReceiver().onReceive(context, data);
//SDK-CHANNEL-CODE //SDK-CHANNEL-END
PreferencesManager.get().saveInstallReferrer(getReferrerValue(data.getExtras()));
}
......
......@@ -114,11 +114,11 @@ public class LibConfig {
//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
//SDK-CHANNEL-CODE com.mixpanel.android.mpmetrics.MixpanelAPI.getInstance(application, "8d7cc843b3c027ccab6288e55d99edbc");
//SDK-CHANNEL-CODE com.kochava.base.Tracker.configure(new com.kochava.base.Tracker.Configuration(application)
//SDK-CHANNEL-CODE .setAppGuid("kobackup-master-oxv8ltm")
//SDK-CHANNEL-CODE );
//SDK-CHANNEL-CODE //SDK-CHANNEL-END
//屏幕适配(360dp宽度限定)
......
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