Skip to content

Commit

Permalink
remove the AppsFlyer SDK for handling AppsFlyer deep links
Browse files Browse the repository at this point in the history
  • Loading branch information
frett committed Nov 1, 2023
1 parent 9d1a560 commit 1660fe0
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 303 deletions.
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ androidx-test-junit = "androidx.test.ext:junit:1.1.5"
androidx-viewpager2 = { module = "androidx.viewpager2:viewpager2", version.ref = "androidx-viewpager2" }
androidx-work = { module = "androidx.work:work-runtime", version.ref = "androidx-work" }
androidx-work-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "androidx-work" }
appsflyer = "com.appsflyer:af-android-sdk:6.12.4"
coil-compose = "io.coil-kt:coil-compose:2.5.0"
compose-reorderable = "org.burnoutcrew.composereorderable:reorderable:0.9.6"
dagger = { module = "com.google.dagger:dagger", version.ref = "dagger" }
Expand Down
5 changes: 0 additions & 5 deletions library/analytics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ android {

configureCompose(project)
createEventBusIndex("org.cru.godtools.analytics.AnalyticsEventBusIndex")

defaultConfig {
buildConfigField("String", "APPSFLYER_DEV_KEY", "\"QdbVaVHi9bHRchUTWtoaij\"")
}
}

dependencies {
Expand All @@ -31,7 +27,6 @@ dependencies {
implementation(libs.gtoSupport.compat)
implementation(libs.gtoSupport.dagger)

implementation(libs.appsflyer)
implementation(libs.dagger)
implementation(libs.eventbus)
implementation(libs.facebook)
Expand Down
28 changes: 0 additions & 28 deletions library/analytics/src/debug/AndroidManifest.xml

This file was deleted.

29 changes: 3 additions & 26 deletions library/analytics/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- region AppsFlyer Permissions -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- <uses-permission android:name="android.permission.INTERNET" />-->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- XXX: we only target newer versions of Android for this permission to provide seamless upgrades for old devices -->
<uses-permission-sdk-23 android:name="android.permission.ACCESS_WIFI_STATE" />
<!-- endregion AppsFlyer Permissions -->

<!-- Permissions required for Facebook Analytics -->
<uses-permission android:name="android.permission.INTERNET" />

<!-- Permissions required for Firebase Analytics -->
<!-- region Firebase Analytics Permissions -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- endregion Firebase Analytics Permissions -->

<application>
<!-- region AppsFlyer -->
<receiver
android:name="com.appsflyer.SingleInstallBroadcastReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<service
android:name="com.appsflyer.FirebaseMessagingServiceListener"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<!-- endregion AppsFlyer -->

<meta-data
android:name="google_analytics_automatic_screen_reporting_enabled"
android:value="false" />
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions library/analytics/src/release/AndroidManifest.xml

This file was deleted.

This file was deleted.

0 comments on commit 1660fe0

Please sign in to comment.