Add google fit integration

This commit is contained in:
Tommaso Berlose
2020-05-10 14:08:40 +02:00
parent 9a63b9bde2
commit 1754b4045b
28 changed files with 713 additions and 335 deletions

View File

@@ -1,9 +1,5 @@
apply plugin: 'com.android.dynamic-feature'
def apiKeyPropertiesFile = rootProject.file("apikey.properties")
def apiKeyProperties = new Properties()
apiKeyProperties.load(new FileInputStream(apiKeyPropertiesFile))
android {
compileSdkVersion 29
@@ -12,8 +8,6 @@ android {
targetSdkVersion 29
versionCode 1
versionName "1.0"
manifestPlaceholders = [ "AWARENESS_API_KEY": apiKeyProperties['AWARENESS_API_KEY']]
}
compileOptions {

View File

@@ -11,10 +11,6 @@
<dist:on-demand />
</dist:delivery>
<dist:fusing dist:include="true" />
<meta-data
android:name="com.google.android.awareness.API_KEY"
android:value="${AWARENESS_API_KEY}"/>
</dist:module>
</manifest>