Merge pull request #3391 from kiwix/Issue#3387

Better communication about min/max SDK/Android version supported
This commit is contained in:
Kelson 2023-06-01 16:57:00 +02:00 committed by GitHub
commit 8534b39dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -11,7 +11,11 @@
Kiwix is an offline reader for Web content. One of its main purposes Kiwix is an offline reader for Web content. One of its main purposes
is to make Wikipedia available offline. This is done by reading the is to make Wikipedia available offline. This is done by reading the
content of a file in the ZIM format, a highly compressed open format content of a file in the ZIM format, a highly compressed open format
with additional metadata. This is the version for Android. with additional metadata.
This is the version for Android, with support versions ranging from 5
to 13 (like [mentioned
here](https://github.com/kiwix/kiwix-android/blob/develop/buildSrc/src/main/kotlin/Config.kt)).
Kiwix Android is written in [Kotlin](https://kotlinlang.org/) Kiwix Android is written in [Kotlin](https://kotlinlang.org/)

View File

@ -19,8 +19,12 @@
import org.gradle.api.JavaVersion import org.gradle.api.JavaVersion
object Config { object Config {
const val compileSdk = 33
const val minSdk = 21 // Here is a list of all Android versions with their corresponding API
const val targetSdk = 33 // levels: https://apilevels.com/
const val compileSdk = 33 // SDK version used by Gradle to compile our app.
const val minSdk = 21 // Minimum SDK (Minimum Support Device) is 21 (Android 5.0 Lollipop).
const val targetSdk = 33 // Target SDK (Maximum Support Device) is 33 (Android 13).
val javaVersion = JavaVersion.VERSION_1_8 val javaVersion = JavaVersion.VERSION_1_8
} }