Skip to content

Commit 6af4fdd

Browse files
committed
chore: remove ComposeTestActivity and LegacyTestActivity from example app
Debug activities that import app.rive.* directly, causing the example app to need an explicit rive-android dependency. Easy to recreate when needed for native SDK debugging.
1 parent cda21e6 commit 6af4fdd

4 files changed

Lines changed: 0 additions & 200 deletions

File tree

example/android/app/build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: "com.android.application"
22
apply plugin: "org.jetbrains.kotlin.android"
3-
apply plugin: "org.jetbrains.kotlin.plugin.compose"
43
apply plugin: "com.facebook.react"
54

65
/**
@@ -108,10 +107,6 @@ android {
108107
keyPassword 'android'
109108
}
110109
}
111-
buildFeatures {
112-
compose true
113-
}
114-
115110
buildTypes {
116111
debug {
117112
signingConfig signingConfigs.debug
@@ -135,11 +130,4 @@ dependencies {
135130
} else {
136131
implementation jscFlavor
137132
}
138-
139-
// Compose dependencies for ComposeTestActivity
140-
implementation(platform("androidx.compose:compose-bom:2023.10.00"))
141-
implementation("androidx.activity:activity-compose:1.9.0")
142-
implementation("androidx.compose.ui:ui")
143-
implementation("androidx.compose.foundation:foundation")
144-
implementation("androidx.compose.runtime:runtime")
145133
}

example/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,5 @@
2222
<category android:name="android.intent.category.LAUNCHER" />
2323
</intent-filter>
2424
</activity>
25-
<activity
26-
android:name=".ComposeTestActivity"
27-
android:label="Compose Rive Test"
28-
android:exported="true"
29-
android:theme="@style/AppTheme">
30-
<intent-filter>
31-
<action android:name="android.intent.action.VIEW" />
32-
<category android:name="android.intent.category.DEFAULT" />
33-
</intent-filter>
34-
</activity>
35-
<activity
36-
android:name=".LegacyTestActivity"
37-
android:label="Legacy Rive Test"
38-
android:exported="true"
39-
android:theme="@style/AppTheme">
40-
</activity>
4125
</application>
4226
</manifest>

example/android/app/src/main/java/rive/example/ComposeTestActivity.kt

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

example/android/app/src/main/java/rive/example/LegacyTestActivity.kt

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

0 commit comments

Comments
 (0)