Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
bf8d6086
Commit
bf8d6086
authored
Jan 10, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除 AppsFlyer
parent
8e9f080e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/main/AndroidManifest.xml
+5
-0
src/main/java/tech/starwin/utils/TrackEventHelper.java
+0
-5
No files found.
src/main/AndroidManifest.xml
View file @
bf8d6086
...
...
@@ -10,6 +10,11 @@
android:name=
"android.hardware.camera.autofocus"
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>
<!--适应全面屏-->
<meta-data
...
...
src/main/java/tech/starwin/utils/TrackEventHelper.java
View file @
bf8d6086
...
...
@@ -7,7 +7,6 @@ import android.view.View;
import
android.widget.Button
;
import
android.widget.TextView
;
import
com.appsflyer.AppsFlyerLib
;
import
com.google.firebase.analytics.FirebaseAnalytics
;
import
tech.starwin.LibConfig
;
...
...
@@ -53,8 +52,6 @@ public class TrackEventHelper {
bundle
.
putString
(
FirebaseAnalytics
.
Param
.
CONTENT_TYPE
,
eventName
);
//FireBase 埋点
FirebaseAnalytics
.
getInstance
(
context
).
logEvent
(
FirebaseAnalytics
.
Event
.
SELECT_CONTENT
,
bundle
);
//AF 埋点
AppsFlyerLib
.
getInstance
().
startTracking
(
LibConfig
.
getContext
(),
eventName
);
}
/**
...
...
@@ -63,8 +60,6 @@ public class TrackEventHelper {
public
static
void
logEvent
(
String
eventName
)
{
//FireBase 埋点
FirebaseAnalytics
.
getInstance
(
LibConfig
.
getContext
()).
logEvent
(
eventName
,
null
);
//AF 埋点
AppsFlyerLib
.
getInstance
().
startTracking
(
LibConfig
.
getContext
(),
eventName
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment