Skip to content

Commit e777539

Browse files
authored
Merge branch 'develop' into feature/fga/update_create_room_flow
2 parents 4ff1e79 + 98bf685 commit e777539

File tree

9 files changed

+17
-15
lines changed

9 files changed

+17
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Element X Android
1010

11-
Element X Android is a [Matrix](https://matrix.org/) Android Client provided by [element.io](https://element.io/). This app is currently in a pre-alpha release stage with only basic functionalities.
11+
Element X Android is a [Matrix](https://matrix.org/) Android Client provided by [element.io](https://element.io/).
1212

1313
The application is a total rewrite of [Element-Android](https://github.com/element-hq/element-android) using the [Matrix Rust SDK](https://github.com/matrix-org/matrix-rust-sdk) underneath and targeting devices running Android 7+. The UI layer is written using [Jetpack Compose](https://developer.android.com/jetpack/compose), and the navigation is managed using [Appyx](https://github.com/bumble-tech/appyx).
1414

@@ -71,7 +71,7 @@ We're doing this as a way to share code between platforms and while we've seen p
7171

7272
## Status
7373

74-
This project is in work in progress. The app does not cover yet all functionalities we expect. The list of supported features can be found in [this issue](https://github.com/element-hq/element-x-android/issues/911).
74+
This project is in an early rollout and migration phase.
7575

7676
## Contributing
7777

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ android {
4848
} else {
4949
"io.element.android.x"
5050
}
51-
targetSdk = Versions.targetSdk
52-
versionCode = Versions.versionCode
53-
versionName = Versions.versionName
51+
targetSdk = Versions.TARGET_SDK
52+
versionCode = Versions.VERSION_CODE
53+
versionName = Versions.VERSION_NAME
5454

5555
// Keep abiFilter for the universalApk
5656
ndk {

features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/CallScreenView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ private fun WebView.setup(
183183
allowFileAccess = true
184184
domStorageEnabled = true
185185
mediaPlaybackRequiresUserGesture = false
186+
@Suppress("DEPRECATION")
186187
databaseEnabled = true
187188
loadsImagesAutomatically = true
188189
userAgentString = userAgent

features/share/impl/src/main/kotlin/io/element/android/features/share/impl/DefaultShareService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DefaultShareService @Inject constructor(
4646
PackageManager.GET_ACTIVITIES or PackageManager.MATCH_DISABLED_COMPONENTS
4747
)
4848
.activities
49-
.firstOrNull { it.name.endsWith(".ShareActivity") }
49+
?.firstOrNull { it.name.endsWith(".ShareActivity") }
5050
?.let { shareActivityInfo ->
5151
ComponentName(
5252
shareActivityInfo.packageName,

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ core = "1.13.1"
1717
# due to the DefaultMigrationStore not behaving as expected.
1818
# Stick to 1.0.0 for now, and ensure that this scenario cannot be reproduced when upgrading the version.
1919
datastore = "1.0.0"
20-
constraintlayout = "2.1.4"
20+
constraintlayout = "2.2.0"
2121
constraintlayout_compose = "1.1.0"
2222
lifecycle = "2.8.6"
2323
activity = "1.9.3"

libraries/oidc/impl/src/main/kotlin/io/element/android/libraries/oidc/impl/webview/OidcView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ fun OidcView(
8686
javaScriptEnabled = true
8787
allowContentAccess = true
8888
allowFileAccess = true
89+
@Suppress("DEPRECATION")
8990
databaseEnabled = true
9091
domStorageEnabled = true
9192
}

plugins/src/main/kotlin/Versions.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ private const val versionMinor = 7
5050
private const val versionPatch = 3
5151

5252
object Versions {
53-
val versionCode = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
54-
val versionName = "$versionMajor.$versionMinor.$versionPatch"
55-
const val compileSdk = 34
56-
const val targetSdk = 34
53+
const val VERSION_CODE = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
54+
const val VERSION_NAME = "$versionMajor.$versionMinor.$versionPatch"
55+
const val COMPILE_SDK = 35
56+
const val TARGET_SDK = 35
5757

5858
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
5959
val minSdk = if (isEnterpriseBuild) 26 else 24

plugins/src/main/kotlin/extension/CommonExtension.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import java.io.File
1515

1616
fun CommonExtension<*, *, *, *, *, *>.androidConfig(project: Project) {
1717
defaultConfig {
18-
compileSdk = Versions.compileSdk
18+
compileSdk = Versions.COMPILE_SDK
1919
minSdk = Versions.minSdk
2020
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2121

samples/minimal/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ android {
1414

1515
defaultConfig {
1616
applicationId = "io.element.android.samples.minimal"
17-
targetSdk = Versions.targetSdk
18-
versionCode = Versions.versionCode
19-
versionName = Versions.versionName
17+
targetSdk = Versions.TARGET_SDK
18+
versionCode = Versions.VERSION_CODE
19+
versionName = Versions.VERSION_NAME
2020
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2121
}
2222

0 commit comments

Comments
 (0)