| @@ -34,7 +34,7 @@ android { | |||||
| main.java.srcDirs += 'src/main/kotlin' | main.java.srcDirs += 'src/main/kotlin' | ||||
| } | } | ||||
| defaultConfig { | defaultConfig { | ||||
| minSdkVersion 24 | |||||
| minSdkVersion 19 | |||||
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||||
| } | } | ||||
| lintOptions { | lintOptions { | ||||
| @@ -47,5 +47,7 @@ android { | |||||
| dependencies { | dependencies { | ||||
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||||
| implementation "com.journeyapps:zxing-android-embedded:4.0.2" | |||||
| implementation('com.journeyapps:zxing-android-embedded:4.1.0') { transitive = false } | |||||
| implementation 'androidx.appcompat:appcompat:1.0.2' | |||||
| implementation 'com.google.zxing:core:3.3.0' | |||||
| } | } | ||||
| @@ -1,3 +1,4 @@ | |||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |||||
| package="net.touchcapture.qr.flutterqr"> | |||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="net.touchcapture.qr.flutterqr" | |||||
| xmlns:tools="http://schemas.android.com/tools"> | |||||
| <uses-sdk tools:overrideLibrary="com.google.zxing.client.android" /> | |||||
| </manifest> | </manifest> | ||||
| @@ -39,7 +39,7 @@ android { | |||||
| defaultConfig { | defaultConfig { | ||||
| // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||||
| applicationId "net.touchcapture.qr.flutterqrexample" | applicationId "net.touchcapture.qr.flutterqrexample" | ||||
| minSdkVersion 24 | |||||
| minSdkVersion 19 | |||||
| targetSdkVersion 27 | targetSdkVersion 27 | ||||
| versionCode flutterVersionCode.toInteger() | versionCode flutterVersionCode.toInteger() | ||||
| versionName flutterVersionName | versionName flutterVersionName | ||||