diff --git a/example/app/(examples)/DemoScripting.tsx b/example/app/(examples)/DemoScripting.tsx new file mode 100644 index 00000000..e99aa9f7 --- /dev/null +++ b/example/app/(examples)/DemoScripting.tsx @@ -0,0 +1,41 @@ +/* + Rive React Native Scripting Example + + Resources: + - Rive Scripting: https://rive.app/docs/scripting +*/ + +import { SafeAreaView, ScrollView, StyleSheet } from 'react-native'; +import Rive, { Alignment, AutoBind, Fit } from 'rive-react-native'; + +export default function DemoScripting() { + return ( + + + + + + ); +} + +const styles = StyleSheet.create({ + safeAreaViewContainer: { + flex: 1, + }, + container: { + flexGrow: 1, + alignItems: 'center', + justifyContent: 'center', + }, + animation: { + width: '100%', + height: 300, + }, +}); diff --git a/example/app/_layout.tsx b/example/app/_layout.tsx index b5c7ccb1..3db9a8df 100644 --- a/example/app/_layout.tsx +++ b/example/app/_layout.tsx @@ -67,6 +67,10 @@ function RootLayoutNav() { name="(examples)/Simple" options={{ title: 'Simple' }} /> + Quick Start Simple + Demo Scripting Data Binding HTTP Mesh Example diff --git a/example/assets/rive/blinko.riv b/example/assets/rive/blinko.riv new file mode 100644 index 00000000..0d2324c7 Binary files /dev/null and b/example/assets/rive/blinko.riv differ diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 85927ca7..8581f936 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1690,10 +1690,10 @@ PODS: - React-logger (= 0.76.7) - React-perflogger (= 0.76.7) - React-utils (= 0.76.7) - - rive-react-native (9.7.0): + - rive-react-native (9.7.1): - React-Core - - RiveRuntime (= 6.12.3) - - RiveRuntime (6.12.3) + - RiveRuntime (= 6.13.0) + - RiveRuntime (6.13.0) - RNCPicker (2.11.0): - DoubleConversion - glog @@ -2222,8 +2222,8 @@ SPEC CHECKSUMS: React-utils: 0342746d2cf989cf5e0d1b84c98cfa152edbdf3f ReactCodegen: e1c019dc68733dd2c5d3b263b4a6dc72002c0045 ReactCommon: 81e0744ee33adfd6d586141b927024f488bc49ea - rive-react-native: 85786a4ed5937b0b11bb841989ee30467dbcefb2 - RiveRuntime: ecde073222c6279c6f7f439132ac7f0a461b344b + rive-react-native: 368b57cf974b87f309819be2f59c433876010e4a + RiveRuntime: 903690a5ba698b2a7e8d462e8aa7ceeba862614c RNCPicker: c657bd58a82b164a957812f82a0b4bab4245de2e RNGestureHandler: 16ef3dc2d7ecb09f240f25df5255953c4098819b RNReanimated: a2692304a6568bc656c04c8ffea812887d37436e diff --git a/package.json b/package.json index 2b15477e..efdedbf6 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "rive-react-native", "version": "9.7.1", "runtimeVersions": { - "ios": "6.12.3", - "android": "10.5.3" + "ios": "6.13.0", + "android": "11.1.0" }, "workspaces": [ "example"