diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-03 21:51:34 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-03 21:51:34 -0700 |
commit | 1f6e34c8f7edeab8af071bfa9cdbd8137c658a69 (patch) | |
tree | 6ef4e859f116f8d91c14e03b9159d8a79fc13517 | |
parent | c2b74571d5361a6ac3e038fd3a1320053b1cc5d6 (diff) | |
download | frost-1f6e34c8f7edeab8af071bfa9cdbd8137c658a69.tar.gz frost-1f6e34c8f7edeab8af071bfa9cdbd8137c658a69.tar.bz2 frost-1f6e34c8f7edeab8af071bfa9cdbd8137c658a69.zip |
Make fabric api key public
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | app/build.gradle | 10 | ||||
-rw-r--r-- | app/src/main/AndroidManifest.xml | 2 |
3 files changed, 1 insertions, 13 deletions
@@ -10,5 +10,3 @@ /app/src/main/res/values/strings_facebook.xml /app/src/main/kotlin/com/pitchedapps/frost/facebook/Private.kt *.min.css -/app/src/main/res/values/fabric.xml -fabric.properties diff --git a/app/build.gradle b/app/build.gradle index 80895f6e..4efb8529 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,15 +2,6 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'io.fabric' -def FABRIC_API_KEY = System.env.FABRIC_API_KEY -if (FABRIC_API_KEY == null) { - def fabricProps = new Properties() - file("../fabric.properties").withInputStream { - stream -> fabricProps.load(stream) - } - FABRIC_API_KEY = fabricProps.getProperty('FABRIC_API_KEY', 'empty') -} -println 'Fabric ' + FABRIC_API_KEY android { compileSdkVersion Integer.parseInt(project.TARGET_SDK) buildToolsVersion project.BUILD_TOOLS @@ -23,7 +14,6 @@ android { versionName project.VERSION_NAME multiDexEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - manifestPlaceholders = [fabricApiKey: FABRIC_API_KEY] } applicationVariants.all { variant -> diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ae058ff2..8f00a41d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -106,7 +106,7 @@ </receiver> <meta-data android:name="io.fabric.ApiKey" - android:value="${fabricApiKey}" /> + android:value="18b3c223b96b7e7fc1fac372e36b8f4d49a193c7" /> </application> </manifest>
\ No newline at end of file |