Merge pull request #356 from zod/permission-handling

Improve permission handling
This commit is contained in:
afischerdev 2021-11-07 12:56:32 +01:00 committed by GitHub
commit c9baec210a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 167 additions and 498 deletions

View file

@ -16,6 +16,7 @@ android {
resValue('string', 'app_version', defaultConfig.versionName)
setProperty("archivesBaseName","BRouterApp." + defaultConfig.versionName)
minSdkVersion 14
}
sourceSets.main.assets.srcDirs += new File(project.buildDir, 'assets')
@ -69,20 +70,18 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}
flavorDimensions "api"
productFlavors {
api10 {
dimension "api"
minSdkVersion 10
targetSdkVersion 19
}
api19 {
dimension "api"
minSdkVersion 19
targetSdkVersion 30
targetSdkVersion 19
}
api30 {
dimension "api"
targetSdkVersion 30
}
}
@ -93,7 +92,7 @@ android {
dependencies {
api19Implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation project(':brouter-mapaccess')
implementation project(':brouter-core')