aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-03 21:51:34 -0700
committerAllan Wang <me@allanwang.ca>2017-06-03 21:51:34 -0700
commit1f6e34c8f7edeab8af071bfa9cdbd8137c658a69 (patch)
tree6ef4e859f116f8d91c14e03b9159d8a79fc13517
parentc2b74571d5361a6ac3e038fd3a1320053b1cc5d6 (diff)
downloadfrost-1f6e34c8f7edeab8af071bfa9cdbd8137c658a69.tar.gz
frost-1f6e34c8f7edeab8af071bfa9cdbd8137c658a69.tar.bz2
frost-1f6e34c8f7edeab8af071bfa9cdbd8137c658a69.zip
Make fabric api key public
-rw-r--r--.gitignore2
-rw-r--r--app/build.gradle10
-rw-r--r--app/src/main/AndroidManifest.xml2
3 files changed, 1 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index a62725a7..06ee3dc1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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