Skip to content

Commit

Permalink
feat: remove Skia and make Rive Renderer the default on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
HayesGordon committed Mar 5, 2025
1 parent d32e9f5 commit d82ebca
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1'
implementation 'app.rive:rive-android:9.13.10'
implementation 'app.rive:rive-android:10.0.1'
implementation "androidx.startup:startup-runtime:1.1.1"
implementation 'com.android.volley:volley:1.2.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import app.rive.runtime.kotlin.core.RendererType

enum class RNRiveRendererType(private val rendererTypeName: String) {
Rive("rive"),
Skia("skia"),
Canvas("canvas");

override fun toString(): String {
Expand All @@ -19,7 +18,6 @@ enum class RNRiveRendererType(private val rendererTypeName: String) {
fun mapToRiveRendererType(rnRendererType: RNRiveRendererType): RendererType {
return when (rnRendererType) {
Rive -> RendererType.Rive
Skia -> RendererType.Skia
Canvas -> RendererType.Canvas
}
}
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export enum RiveRendererIOS {

export enum RiveRendererAndroid {
Rive = 'rive',
Skia = 'skia',
Canvas = 'canvas',
}

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.5.0
9.0.0

0 comments on commit d82ebca

Please sign in to comment.