Skip to content

Commit e36e41a

Browse files
Android Integration Sample: Update SDK to version 4.11.0 (#137)
Android Integration Sample: Update SDK to version 4.11.0 Android Integration Sample: Update license credential definition. Android Integration Sample: Update README.md
1 parent 6c50c50 commit e36e41a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Integration/Keyboard-Android/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Once integrated, you can see an actual custom keyboard on your device.
1515

1616
## Development
1717

18-
To build this project, please set both license and secret keys as `FLEKSY_LICENSE_KEY` and `FLEKSY_SECRET_KEY`
19-
in your respective build environment to populate the `BuildConfig` variables at build time.
18+
To build this project, please set both license and secret keys as `fleksy_license_key` and `fleksy_license_secret`
19+
in your respective project properties to populate the `BuildConfig` variables at build time.
2020

2121
## Fleksy Apps
2222
1. The included GIPHY app requires a GIPHY API key to run properly. You must provide your own. You may [request one here](https://support.giphy.com/hc/en-us/articles/360020283431-Request-A-GIPHY-API-Key).

Integration/Keyboard-Android/app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ android {
1717
multiDexEnabled true
1818

1919
// License and Secret key, read from environment
20-
buildConfigField "String", "FLEKSY_LICENSE_KEY", "\"$System.env.FLEKSY_LICENSE_KEY\""
21-
buildConfigField "String", "FLEKSY_SECRET_KEY", "\"$System.env.FLEKSY_SECRET_KEY\""
20+
buildConfigField "String", "FLEKSY_LICENSE_KEY", "\"${project.properties["fleksy_license_key"].toString()}\""
21+
buildConfigField "String", "FLEKSY_SECRET_KEY", "\"${project.properties["fleksy_license_secret"].toString()}\""
2222
}
2323

2424
buildTypes {
@@ -30,6 +30,7 @@ android {
3030

3131
buildFeatures {
3232
viewBinding true
33+
buildConfig true
3334
}
3435

3536
compileOptions {
@@ -62,6 +63,6 @@ dependencies {
6263
implementation 'com.android.support:multidex:1.0.3'
6364

6465
// Keyboard Dependencies
65-
implementation "co.thingthing.fleksycore:fleksycore-release:4.7.2"
66+
implementation "co.thingthing.fleksycore:fleksycore-release:4.11.0"
6667
implementation("co.thingthing.fleksyapps:giphy:2.1.0")
6768
}

Integration/Keyboard-Android/gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ kotlin.code.style=official
2323
# resources declared in the library itself and none from the library's dependencies,
2424
# thereby reducing the size of the R class for that library
2525
android.nonTransitiveRClass=true
26-
android.defaults.buildfeatures.buildconfig=true
2726
android.nonFinalResIds=false

0 commit comments

Comments
 (0)