1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-09 20:42:34 +01:00

Make fabric api key public

This commit is contained in:
Allan Wang 2017-06-03 21:51:34 -07:00
parent c2b74571d5
commit 1f6e34c8f7
3 changed files with 1 additions and 13 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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 ->

View File

@ -106,7 +106,7 @@
</receiver>
<meta-data
android:name="io.fabric.ApiKey"
android:value="${fabricApiKey}" />
android:value="18b3c223b96b7e7fc1fac372e36b8f4d49a193c7" />
</application>
</manifest>