Skip to content

Commit

Permalink
Disable firebase collection
Browse files Browse the repository at this point in the history
  • Loading branch information
furenster committed Oct 19, 2024
1 parent bc5de4e commit dc508eb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken

-dontwarn com.google.firebase.analytics.connector.AnalyticsConnector

-keep class wallet.core.jni.** { *; }
-keep class wallet.core.jni.proto.** { *; }

Expand Down
4 changes: 4 additions & 0 deletions app/src/google/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_gem_notification"
/>
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
<meta-data android:name="firebase_performance_collection_enabled" android:value="false" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fun UI(
padding = PaddingValues(padding16),
mainAction = {
MainActionButton(
title = stringResource(id = R.string.common_next),
title = stringResource(id = R.string.common_continue),
onClick = { onCreate(name) }
)
}
Expand Down
4 changes: 4 additions & 0 deletions app/src/solana/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_gem_notification"
/>
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
<meta-data android:name="firebase_performance_collection_enabled" android:value="false" />
</application>

</manifest>
4 changes: 4 additions & 0 deletions app/src/universal/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_gem_notification"
/>
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
<meta-data android:name="firebase_analytics_collection_enabled" android:value="false" />
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
<meta-data android:name="firebase_performance_collection_enabled" android:value="false" />
</application>

</manifest>
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonFinalResIds=false
android.nonFinalResIds=false
firebasePerformanceInstrumentationEnabled=false

0 comments on commit dc508eb

Please sign in to comment.