mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Compile and target API 35.
Tested OK on a API 35 emulator.
This commit is contained in:
committed by
Benoit Marty
parent
fa1e5e5ceb
commit
920c50cc3d
+1
@@ -183,6 +183,7 @@ private fun WebView.setup(
|
|||||||
allowFileAccess = true
|
allowFileAccess = true
|
||||||
domStorageEnabled = true
|
domStorageEnabled = true
|
||||||
mediaPlaybackRequiresUserGesture = false
|
mediaPlaybackRequiresUserGesture = false
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
databaseEnabled = true
|
databaseEnabled = true
|
||||||
loadsImagesAutomatically = true
|
loadsImagesAutomatically = true
|
||||||
userAgentString = userAgent
|
userAgentString = userAgent
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@ class DefaultShareService @Inject constructor(
|
|||||||
PackageManager.GET_ACTIVITIES or PackageManager.MATCH_DISABLED_COMPONENTS
|
PackageManager.GET_ACTIVITIES or PackageManager.MATCH_DISABLED_COMPONENTS
|
||||||
)
|
)
|
||||||
.activities
|
.activities
|
||||||
.firstOrNull { it.name.endsWith(".ShareActivity") }
|
?.firstOrNull { it.name.endsWith(".ShareActivity") }
|
||||||
?.let { shareActivityInfo ->
|
?.let { shareActivityInfo ->
|
||||||
ComponentName(
|
ComponentName(
|
||||||
shareActivityInfo.packageName,
|
shareActivityInfo.packageName,
|
||||||
|
|||||||
+1
@@ -86,6 +86,7 @@ fun OidcView(
|
|||||||
javaScriptEnabled = true
|
javaScriptEnabled = true
|
||||||
allowContentAccess = true
|
allowContentAccess = true
|
||||||
allowFileAccess = true
|
allowFileAccess = true
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
databaseEnabled = true
|
databaseEnabled = true
|
||||||
domStorageEnabled = true
|
domStorageEnabled = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ private const val versionPatch = 3
|
|||||||
object Versions {
|
object Versions {
|
||||||
val versionCode = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
|
val versionCode = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
|
||||||
val versionName = "$versionMajor.$versionMinor.$versionPatch"
|
val versionName = "$versionMajor.$versionMinor.$versionPatch"
|
||||||
const val compileSdk = 34
|
const val compileSdk = 35
|
||||||
const val targetSdk = 34
|
const val targetSdk = 35
|
||||||
|
|
||||||
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
|
// 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
|
val minSdk = if (isEnterpriseBuild) 26 else 24
|
||||||
|
|||||||
Reference in New Issue
Block a user