Skip to content

Commit

Permalink
Remove Google spyware
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Jun 20, 2024
1 parent 3b8ed30 commit 7e9e687
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 26 deletions.
7 changes: 0 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ plugins {
kotlin("plugin.serialization")
}

if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
apply<com.google.gms.googleservices.GoogleServicesPlugin>()
}

shortcutHelper.setFilePath("./shortcuts.xml")

val SUPPORTED_ABIS = setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
Expand Down Expand Up @@ -239,9 +235,6 @@ dependencies {
// Logging
implementation(libs.logcat)

// Crash reports/analytics
"standardImplementation"(libs.firebase.analytics)

// Shizuku
implementation(libs.bundles.shizuku)

Expand Down
4 changes: 0 additions & 4 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,3 @@

# Apache Commons Compress
-keep class * extends org.apache.commons.compress.archivers.zip.ZipExtraField { <init>(); }

# Firebase
-keep class com.google.firebase.installations.** { *; }
-keep interface com.google.firebase.installations.** { *; }
11 changes: 0 additions & 11 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@

<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />

<!-- Remove permission from Firebase dependency -->
<uses-permission
android:name="com.google.android.gms.permission.AD_ID"
tools:node="remove" />

<application
android:name=".App"
android:allowBackup="false"
Expand Down Expand Up @@ -122,7 +117,6 @@
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<action android:name="com.google.android.gms.actions.SEARCH_ACTION" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Expand Down Expand Up @@ -236,11 +230,6 @@
android:name="android.webkit.WebView.MetricsOptOut"
android:value="true" />

<!-- Disable advertising ID collection for Firebase -->
<meta-data
android:name="google_analytics_adid_collection_enabled"
android:value="false" />

</application>

</manifest>
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
buildscript {
dependencies {
classpath(libs.android.shortcut.gradle)
classpath(libs.google.services.gradle)
classpath(libs.aboutLibraries.gradle)
classpath(libs.sqldelight.gradle)
classpath(libs.moko.gradle)
Expand Down
3 changes: 0 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ detektCompose = "0.3.12"
[libraries]
desugar = "com.android.tools:desugar_jdk_libs:2.0.4"
android-shortcut-gradle = "com.github.zellius:android-shortcut-gradle-plugin:0.1.2"
google-services-gradle = "com.google.gms:google-services:4.4.2"

rxjava = "io.reactivex:rxjava:1.3.8"

Expand Down Expand Up @@ -73,8 +72,6 @@ moko-gradle = { module = "dev.icerock.moko:resources-generator", version.ref = "

logcat = "com.squareup.logcat:logcat:0.1"

firebase-analytics = "com.google.firebase:firebase-analytics:22.0.1"

aboutLibraries-gradle = { module = "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin", version.ref = "aboutlib_version" }
aboutLibraries-compose = { module = "com.mikepenz:aboutlibraries-compose-m3", version.ref = "aboutlib_version" }

Expand Down

0 comments on commit 7e9e687

Please sign in to comment.