Commit bf8d6086 by sikang

移除 AppsFlyer

parent 8e9f080e
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
android:name="android.hardware.camera.autofocus" android:name="android.hardware.camera.autofocus"
android:required="false" /> android:required="false" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application> <application>
<!--适应全面屏--> <!--适应全面屏-->
<meta-data <meta-data
......
...@@ -7,7 +7,6 @@ import android.view.View; ...@@ -7,7 +7,6 @@ import android.view.View;
import android.widget.Button; import android.widget.Button;
import android.widget.TextView; import android.widget.TextView;
import com.appsflyer.AppsFlyerLib;
import com.google.firebase.analytics.FirebaseAnalytics; import com.google.firebase.analytics.FirebaseAnalytics;
import tech.starwin.LibConfig; import tech.starwin.LibConfig;
...@@ -53,8 +52,6 @@ public class TrackEventHelper { ...@@ -53,8 +52,6 @@ public class TrackEventHelper {
bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, eventName); bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, eventName);
//FireBase 埋点 //FireBase 埋点
FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle); FirebaseAnalytics.getInstance(context).logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
//AF 埋点
AppsFlyerLib.getInstance().startTracking(LibConfig.getContext(), eventName);
} }
/** /**
...@@ -63,8 +60,6 @@ public class TrackEventHelper { ...@@ -63,8 +60,6 @@ public class TrackEventHelper {
public static void logEvent(String eventName) { public static void logEvent(String eventName) {
//FireBase 埋点 //FireBase 埋点
FirebaseAnalytics.getInstance(LibConfig.getContext()).logEvent(eventName, null); FirebaseAnalytics.getInstance(LibConfig.getContext()).logEvent(eventName, null);
//AF 埋点
AppsFlyerLib.getInstance().startTracking(LibConfig.getContext(), eventName);
} }
......
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