mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
Permit Firebase analytics to be disabled
Set up configuration parameters so that analytics can be completely disabled based on the flavor being built
This commit is contained in:
parent
d0dc91626f
commit
ad58d579d7
2 changed files with 5 additions and 0 deletions
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue