Skip to content

Commit

Permalink
feat: add IK support
Browse files Browse the repository at this point in the history
  • Loading branch information
mjtalbot committed Jul 22, 2021
1 parent 8bbc1d2 commit 7be5a7a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ dependencies {
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1'
implementation 'app.rive:rive-android:0.2.8'
implementation 'app.rive:rive-android:0.2.10'
implementation 'com.android.volley:volley:1.2.0'
}
Binary file added example/android/app/src/main/res/raw/two_bone_ik.riv
Binary file not shown.
Binary file added example/ios/Assets/two_bone_ik.riv
Binary file not shown.
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ PODS:
- React-Core (= 0.63.4)
- React-cxxreact (= 0.63.4)
- React-jsi (= 0.63.4)
- rive-react-native (2.1.26):
- rive-react-native (2.1.27):
- React-Core
- RiveRuntime (= 0.3.0)
- RiveRuntime (0.3.0)
- RiveRuntime (= 0.15.4)
- RiveRuntime (0.15.4)
- RNCMaskedView (0.1.11):
- React
- RNCPicker (1.16.0):
Expand Down Expand Up @@ -535,8 +535,8 @@ SPEC CHECKSUMS:
React-RCTText: 5c51df3f08cb9dedc6e790161195d12bac06101c
React-RCTVibration: ae4f914cfe8de7d4de95ae1ea6cc8f6315d73d9d
ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
rive-react-native: ea6bbdb00d561caffbcdf5270398d470118f29cb
RiveRuntime: 5705e6ff9421461c695d0e0d9bb74e6aaddf266a
rive-react-native: 19b213201d24a198a6d9e943ad4eb9c208321626
RiveRuntime: b8a0f4a9a39d69069a9b241aa857eec78cc59caa
RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489
RNCPicker: 918e98b54a141791e99614b1c320ef2e58300490
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
Expand Down
4 changes: 4 additions & 0 deletions example/ios/RiveReactNativeExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
00E356F31AD99517003FC87E /* RiveReactNativeExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RiveReactNativeExampleTests.m */; };
04A886F326A990050078530A /* two_bone_ik.riv in Resources */ = {isa = PBXBuildFile; fileRef = 04A886F226A990050078530A /* two_bone_ik.riv */; };
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
Expand Down Expand Up @@ -48,6 +49,7 @@
00E356EE1AD99517003FC87E /* RiveReactNativeExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RiveReactNativeExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
00E356F21AD99517003FC87E /* RiveReactNativeExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RiveReactNativeExampleTests.m; sourceTree = "<group>"; };
04A886F226A990050078530A /* two_bone_ik.riv */ = {isa = PBXFileReference; lastKnownFileType = file; path = two_bone_ik.riv; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* RiveReactNativeExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RiveReactNativeExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RiveReactNativeExample/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RiveReactNativeExample/AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -191,6 +193,7 @@
9D4FE60A26493B460098BF6A /* Assets */ = {
isa = PBXGroup;
children = (
04A886F226A990050078530A /* two_bone_ik.riv */,
9DBF1CC42684937E0008391A /* v6_file.riv */,
9D879D0E265BF5B300D01424 /* skills.riv */,
9D879D0C265BF2A400D01424 /* ui_swipe_left_to_delete.riv */,
Expand Down Expand Up @@ -343,6 +346,7 @@
files = (
9D879D00265642BA00D01424 /* truck_v7.riv in Resources */,
9D879D0B26578A5E00D01424 /* artboard_animations.riv in Resources */,
04A886F326A990050078530A /* two_bone_ik.riv in Resources */,
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
9D879D0F265BF5B300D01424 /* skills.riv in Resources */,
9DBF1CC52684937E0008391A /* v6_file.riv in Resources */,
Expand Down
2 changes: 1 addition & 1 deletion rive-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency "React-Core"
s.dependency "RiveRuntime", "0.3.0"
s.dependency "RiveRuntime", "0.15.4"
end

0 comments on commit 7be5a7a

Please sign in to comment.