mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
Add a module for the Matrix SDK with the aar of the Rust SDK
This commit is contained in:
@@ -57,6 +57,7 @@ android {
|
||||
dependencies {
|
||||
implementation project(":libraries:ui:theme")
|
||||
implementation project(":libraries:ui:screens:login")
|
||||
implementation project(":libraries:sdk:matrix")
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.9.0'
|
||||
implementation "androidx.compose.ui:ui:$compose_version"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<application
|
||||
android:name=".ElementXApplication"
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package io.element.android.x
|
||||
|
||||
import android.app.Application
|
||||
import io.element.android.x.sdk.matrix.MatrixInstance
|
||||
|
||||
class ElementXApplication : Application() {
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
MatrixInstance.init(this)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user