Skip to content

Commit db8ff8c

Browse files
committed
fixup! chore: add scaffolding for android interop project
1 parent 0bf540c commit db8ff8c

File tree

26 files changed

+9
-348
lines changed

26 files changed

+9
-348
lines changed

crypto-ffi/bindings/android-interop/src/androidTest/java/com/wire/androidinterop/ExampleInstrumentedTest.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/AndroidManifest.xml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<application
6-
android:allowBackup="true"
7-
android:dataExtractionRules="@xml/data_extraction_rules"
8-
android:fullBackupContent="@xml/backup_rules"
9-
android:icon="@mipmap/ic_launcher"
10-
android:label="@string/app_name"
11-
android:roundIcon="@mipmap/ic_launcher_round"
12-
android:supportsRtl="true"
13-
android:theme="@style/Theme.AndroidInterop">
5+
android:allowBackup="false"
6+
android:supportsRtl="true">
147
<activity
158
android:name=".MainActivity"
169
android:launchMode="singleTop"
1710
android:exported="true"
18-
android:label="@string/app_name"
19-
android:theme="@style/Theme.AndroidInterop">
11+
android:label="AndroidInterop">
2012
<intent-filter>
2113
<action android:name="android.intent.action.MAIN"/>
2214
<category android:name="android.intent.category.LAUNCHER"/>

crypto-ffi/bindings/android-interop/src/main/java/com/wire/androidinterop/MainActivity.kt

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@ import android.content.Intent
44
import android.os.Bundle
55
import androidx.activity.ComponentActivity
66
import androidx.activity.compose.setContent
7-
import androidx.activity.enableEdgeToEdge
87
import androidx.compose.foundation.layout.fillMaxSize
98
import androidx.compose.foundation.layout.padding
10-
import androidx.compose.material3.Scaffold
119
import androidx.compose.material3.Text
12-
import androidx.compose.runtime.Composable
1310
import androidx.compose.ui.Modifier
14-
import androidx.compose.ui.tooling.preview.Preview
15-
import com.wire.androidinterop.ui.theme.AndroidInteropTheme
11+
import androidx.compose.ui.unit.dp
1612
import kotlinx.coroutines.runBlocking
1713
import kotlinx.serialization.json.Json
1814

@@ -24,15 +20,11 @@ class MainActivity : ComponentActivity() {
2420

2521
override fun onCreate(savedInstanceState: Bundle?) {
2622
super.onCreate(savedInstanceState)
27-
enableEdgeToEdge()
2823
setContent {
29-
AndroidInteropTheme {
30-
Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding ->
31-
InteropLabel(
32-
modifier = Modifier.padding(innerPadding)
33-
)
34-
}
35-
}
24+
Text(
25+
text = "Android Interop Client",
26+
modifier = Modifier.fillMaxSize().padding(16.dp)
27+
)
3628
}
3729
println("Ready")
3830
}
@@ -57,14 +49,3 @@ class MainActivity : ComponentActivity() {
5749
}
5850

5951
}
60-
61-
@Preview(showBackground = true)
62-
@Composable
63-
fun InteropLabel(modifier: Modifier) {
64-
AndroidInteropTheme {
65-
Text(
66-
text = "Android Interop",
67-
modifier = modifier
68-
)
69-
}
70-
}

crypto-ffi/bindings/android-interop/src/main/java/com/wire/androidinterop/ui/theme/Color.kt

Lines changed: 0 additions & 11 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/java/com/wire/androidinterop/ui/theme/Theme.kt

Lines changed: 0 additions & 58 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/java/com/wire/androidinterop/ui/theme/Type.kt

Lines changed: 0 additions & 34 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 0 additions & 74 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/res/drawable/ic_launcher_foreground.xml

Lines changed: 0 additions & 31 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/res/mipmap-anydpi/ic_launcher.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

crypto-ffi/bindings/android-interop/src/main/res/mipmap-anydpi/ic_launcher_round.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)