Compile and target API 35.

Tested OK on a API 35 emulator.
This commit is contained in:
Benoit Marty
2024-10-31 09:19:08 +01:00
committed by Benoit Marty
parent 0bdc5b2578
commit 5eeb46702f
4 changed files with 5 additions and 3 deletions

View File

@@ -183,6 +183,7 @@ private fun WebView.setup(
allowFileAccess = true
domStorageEnabled = true
mediaPlaybackRequiresUserGesture = false
@Suppress("DEPRECATION")
databaseEnabled = true
loadsImagesAutomatically = true
userAgentString = userAgent

View File

@@ -46,7 +46,7 @@ class DefaultShareService @Inject constructor(
PackageManager.GET_ACTIVITIES or PackageManager.MATCH_DISABLED_COMPONENTS
)
.activities
.firstOrNull { it.name.endsWith(".ShareActivity") }
?.firstOrNull { it.name.endsWith(".ShareActivity") }
?.let { shareActivityInfo ->
ComponentName(
shareActivityInfo.packageName,

View File

@@ -86,6 +86,7 @@ fun OidcView(
javaScriptEnabled = true
allowContentAccess = true
allowFileAccess = true
@Suppress("DEPRECATION")
databaseEnabled = true
domStorageEnabled = true
}

View File

@@ -52,8 +52,8 @@ private const val versionPatch = 3
object Versions {
val versionCode = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
val versionName = "$versionMajor.$versionMinor.$versionPatch"
const val compileSdk = 34
const val targetSdk = 34
const val compileSdk = 35
const val targetSdk = 35
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
val minSdk = if (isEnterpriseBuild) 26 else 24