|
6 | 6 |
|
7 | 7 |  |
8 | 8 |
|
| 9 | +> **🚀 New Runtime Available for Testing!** |
| 10 | +> |
| 11 | +> We're excited to announce that the new Rive React Native runtime is now public and ready for testing. Built with Nitro for improved performance and better React Native integration, this next-generation runtime leverages the new React Native architecture and will eventually be distributed on NPM under the name `@rive-app/react-native`. |
| 12 | +> |
| 13 | +> **Try it now:** https://github.com/rive-app/rive-nitro-react-native |
| 14 | +> |
| 15 | +> **Current Status:** The new package is in development preview. While it's functional and actively maintained, the API may change in future releases. We recommend testing thoroughly before using in production applications. |
| 16 | +> |
| 17 | +> **Migration Timeline:** |
| 18 | +> |
| 19 | +> - **Short term:** Complete the new runtime and unblock production usage |
| 20 | +> - **Medium term:** Address major concerns in this legacy package while supporting migration |
| 21 | +> - **Long term:** Full migration to the new package |
| 22 | +> |
| 23 | +> We're actively gathering feedback to improve the new runtime. Please share your thoughts and report any issues you encounter! |
| 24 | +
|
9 | 25 | A React Native runtime library for [Rive](https://rive.app). |
10 | 26 |
|
11 | 27 | This library is a wrapper around the iOS/Android runtime, providing a component and ref pattern for React Native applications. |
@@ -58,11 +74,13 @@ Check out the `example/` folder to run an example application using the Rive Rea |
58 | 74 | - ...and more! |
59 | 75 |
|
60 | 76 | Steps: |
| 77 | + |
61 | 78 | 1. Run `yarn bootstrap` |
62 | 79 | 2. cd `example` |
63 | 80 | 3. `yarn expo run:android` or `yarn expo run:ios` |
64 | 81 |
|
65 | 82 | iOS: |
| 83 | + |
66 | 84 | - You may need to run `pod install` (first time) or `pod update RiveRuntime` (updates to the underlying Rive iOS runtime) in the `example/iOS` folder to get the runtime installed or updated |
67 | 85 |
|
68 | 86 | ## Migration Guides |
@@ -114,6 +132,7 @@ Create or edit `ios/Podfile.properties.json`: |
114 | 132 | ``` |
115 | 133 |
|
116 | 134 | Then run: |
| 135 | + |
117 | 136 | ```bash |
118 | 137 | cd ios && pod install |
119 | 138 | ``` |
@@ -159,9 +178,11 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ |
159 | 178 | The library resolves versions in the following order: |
160 | 179 |
|
161 | 180 | **iOS:** |
| 181 | + |
162 | 182 | 1. `ios/Podfile.properties.json` → `RiveRuntimeIOSVersion` |
163 | 183 | 2. `package.json` → `runtimeVersions.ios` (default) |
164 | 184 |
|
165 | 185 | **Android:** |
| 186 | + |
166 | 187 | 1. `android/gradle.properties` → `Rive_RiveRuntimeAndroidVersion` |
167 | 188 | 2. `package.json` → `runtimeVersions.android` (default) |
0 commit comments