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 15, 2023
1 parent 54aecb7 commit 9b6aa18
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 @@ -77,7 +77,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"
circuit-codegen-annotations = { module = "com.slack.circuit:circuit-codegen-annotations", version.ref = "circuit" }
circuit-foundation = { module = "com.slack.circuit:circuit-foundation", version.ref = "circuit" }
circuit-test = { module = "com.slack.circuit:circuit-test", version.ref = "circuit" }
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 9b6aa18

Please sign in to comment.