Merge pull request #519 from LLK/permit-analytics-disable

Permit Firebase analytics to be disabled
This commit is contained in:
chrisgarrity 2021-09-20 21:32:33 +01:00 committed by GitHub
commit 1b73e6c30b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,7 @@ android {
defaultConfig {
applicationId "org.scratchjr.android"
manifestPlaceholders = [disableAnalytics: "false"]
}
buildTypes {
@ -24,6 +25,7 @@ android {
targetSdkVersion 29
versionCode 22
versionName "1.2.11"
manifestPlaceholders = [disableAnalytics: "true"]
}
}

View file

@ -18,6 +18,9 @@
android:theme="@style/AppTheme"
android:hardwareAccelerated="true"
android:resizeableActivity="false">
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="${disableAnalytics}" />
<provider android:name="ShareContentProvider"
android:grantUriPermissions="true"
android:authorities="${applicationId}.ShareContentProvider">