Android analytics done, camera instructions added.
This commit is contained in:
@@ -12,6 +12,7 @@ if (flutterRoot == null) {
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||
|
||||
android {
|
||||
@@ -24,7 +25,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
targetSdkVersion 27
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
minSdkVersion 16
|
||||
applicationId "com.dinect.checker"
|
||||
}
|
||||
|
||||
@@ -35,13 +36,13 @@ android {
|
||||
}
|
||||
release {
|
||||
signingConfig signingConfigs.debug
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions "checker"
|
||||
|
||||
// Не смог разобраться, как коомбинировать flavors в flutter при запуске
|
||||
|
||||
productFlavors {
|
||||
|
||||
dinect {
|
||||
@@ -174,16 +175,9 @@ android {
|
||||
buildConfigField "boolean", "showBonus", "true"
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
main.jniLibs.srcDir 'jniLibs'
|
||||
|
||||
pip {
|
||||
res.srcDirs = ['src/pip/res']
|
||||
manifest.srcFile 'src/pip/AndroidManifest.xml'
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility 1.8
|
||||
sourceCompatibility 1.8
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,9 +186,22 @@ flutter {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||
compile 'com.android.support:appcompat-v7:27.1.0'
|
||||
compile 'com.squareup.okhttp3:okhttp:3.8.1'
|
||||
compile 'com.squareup.okio:okio:1.13.0'
|
||||
compile 'me.dm7.barcodescanner:zxing:1.9.8'
|
||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
implementation 'com.android.support:appcompat-v7:27.1.1'
|
||||
implementation 'com.android.support:recyclerview-v7:27.1.1'
|
||||
implementation 'com.google.firebase:firebase-core:15.0.0'
|
||||
implementation 'com.google.firebase:firebase-crash:15.0.0'
|
||||
implementation 'com.android.support:support-v4:27.1.1'
|
||||
implementation 'com.android.support:support-media-compat:27.1.1'
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
|
||||
implementation 'com.squareup.okio:okio:1.13.0'
|
||||
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
}
|
||||
|
||||
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user