From f99a2556a0ab47a4d2c941340a6afdbe9951f4ca Mon Sep 17 00:00:00 2001 From: Lance Date: Tue, 5 Nov 2024 13:31:17 -0800 Subject: [PATCH] chore: remove layout from rnfit.kt --- android/build.gradle | 2 +- android/src/main/java/com/rivereactnative/RNFit.kt | 2 -- example/ios/Podfile.lock | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index f96b1a4..a8772d4 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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.9.5' + implementation 'app.rive:rive-android:9.10.0' implementation "androidx.startup:startup-runtime:1.1.1" implementation 'com.android.volley:volley:1.2.0' } diff --git a/android/src/main/java/com/rivereactnative/RNFit.kt b/android/src/main/java/com/rivereactnative/RNFit.kt index d8c7703..4d65044 100644 --- a/android/src/main/java/com/rivereactnative/RNFit.kt +++ b/android/src/main/java/com/rivereactnative/RNFit.kt @@ -4,7 +4,6 @@ import app.rive.runtime.kotlin.core.Fit enum class RNFit(private val mValue: String) { Cover("cover"), - layout("layout"), Contain("contain"), Fill("fill"), FitWidth("fitWidth"), @@ -25,7 +24,6 @@ enum class RNFit(private val mValue: String) { fun mapToRiveFit(rnFit: RNFit): Fit { return when (rnFit) { Cover -> Fit.COVER - Layout -> Fit.LAYOUT Contain -> Fit.CONTAIN Fill -> Fit.FILL FitWidth -> Fit.FIT_WIDTH diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index e7949da..a4bb2b6 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -487,7 +487,7 @@ PODS: - React-jsi (= 0.72.7) - React-logger (= 0.72.7) - React-perflogger (= 0.72.7) - - rive-react-native (8.0.0): + - rive-react-native (8.1.0): - React-Core - RiveRuntime (= 6.3.1) - RiveRuntime (6.3.1) @@ -744,7 +744,7 @@ SPEC CHECKSUMS: React-runtimescheduler: 7649c3b46c8dee1853691ecf60146a16ae59253c React-utils: 56838edeaaf651220d1e53cd0b8934fb8ce68415 ReactCommon: 5f704096ccf7733b390f59043b6fa9cc180ee4f6 - rive-react-native: f73f70e67c53ba2d755b20f7350378fcdf2620b6 + rive-react-native: 5b6a5d91c93135f980c42addfc3c4e09b2477ed1 RiveRuntime: 6c8d8553ba11599f7336a7c1be835a4584606678 RNCMaskedView: 949696f25ec596bfc697fc88e6f95cf0c79669b6 RNCPicker: 0991c56da7815c0cf946d6f63cf920b25296e5f6