diff options
Diffstat (limited to 'taler-kotlin-android')
-rw-r--r-- | taler-kotlin-android/README.md | 6 | ||||
-rw-r--r-- | taler-kotlin-android/build.gradle | 4 | ||||
-rw-r--r-- | taler-kotlin-android/src/main/AndroidManifest.xml | 3 |
3 files changed, 11 insertions, 2 deletions
diff --git a/taler-kotlin-android/README.md b/taler-kotlin-android/README.md new file mode 100644 index 0000000..c5273de --- /dev/null +++ b/taler-kotlin-android/README.md @@ -0,0 +1,6 @@ +# GNU Taler Kotlin Library for Android + +This library provided basic GNU Taler functionality to Android apps. + +Warning: If you use this library and need bar code scanning, please target at least SDK version 24 + or set `coreLibraryDesugaringEnabled` to `true` in `android.compileOptions`. diff --git a/taler-kotlin-android/build.gradle b/taler-kotlin-android/build.gradle index acd2dc7..d06fde3 100644 --- a/taler-kotlin-android/build.gradle +++ b/taler-kotlin-android/build.gradle @@ -27,7 +27,7 @@ android { buildToolsVersion "$build_tools_version" defaultConfig { - minSdkVersion 24 + minSdkVersion 21 targetSdkVersion 29 versionCode 1 versionName "0.1" @@ -72,7 +72,7 @@ dependencies { implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" // QR codes - implementation 'com.google.zxing:core:3.4.0' // needs minSdkVersion 24+ + implementation 'com.google.zxing:core:3.4.0' // needs minSdkVersion 24+ or desugar // Logcat viewer implementation('com.github.pedrovgs:lynx:1.1.0') { diff --git a/taler-kotlin-android/src/main/AndroidManifest.xml b/taler-kotlin-android/src/main/AndroidManifest.xml index 902ddc1..f74aae6 100644 --- a/taler-kotlin-android/src/main/AndroidManifest.xml +++ b/taler-kotlin-android/src/main/AndroidManifest.xml @@ -15,8 +15,11 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" package="net.taler.common"> + <uses-sdk tools:overrideLibrary="com.google.zxing.client.android" /> + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.NFC" /> |