Revision 4026e706
Added by Leszek Koltunski over 4 years ago
build.gradle | ||
---|---|---|
24 | 24 |
minifyEnabled false |
25 | 25 |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
26 | 26 |
signingConfig signingConfigs.release |
27 |
manifestPlaceholders = [crashlyticsCollectionEnabled:"true"] |
|
28 |
} |
|
29 |
debug { |
|
30 |
manifestPlaceholders = [crashlyticsCollectionEnabled:"false"] |
|
27 | 31 |
} |
28 | 32 |
} |
29 | 33 |
|
src/main/AndroidManifest.xml | ||
---|---|---|
14 | 14 |
android:supportsRtl="true" |
15 | 15 |
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> |
16 | 16 |
|
17 |
<meta-data |
|
18 |
android:name="firebase_crashlytics_collection_enabled" |
|
19 |
android:value="${crashlyticsCollectionEnabled}" |
|
20 |
/> |
|
21 |
|
|
17 | 22 |
<activity android:name="org.distorted.main.RubikActivity"> |
18 | 23 |
<intent-filter> |
19 | 24 |
<action android:name="android.intent.action.MAIN" /> |
Also available in: Unified diff
Switch off Crashlytics in DEBUG builds.