Skip to main content
⚠️ Advanced Configuration This section is for advanced users who need to use specific versions of the Rive native SDKs. In most cases, you should use the default versions that come with the library. Only customize these versions if you have a specific requirement and understand the potential compatibility implications.Important: If you customize the native SDK versions and later update Rive React Native to a newer version, you should revisit your custom version settings. The custom versions you specified may not be compatible with the updated Rive React Native version. Always check the default versions in the new release and test thoroughly.

Default Behavior

By default, Rive React Native pins the native SDK versions in the library’s own package.json under runtimeVersions. The current release uses:
These are tested and known to work with this version of Rive React Native. To confirm the exact versions your installed release bundles, check runtimeVersions in node_modules/@rive-app/react-native/package.json.

Customizing Versions

You can override these default versions using platform-specific configuration files. See the available native Rive Android and iOS versions.

iOS (Vanilla React Native)

Create or edit ios/Podfile.properties.json:
Then run:

Android (Vanilla React Native)

Add to android/gradle.properties:

Expo Projects

For Expo projects, use config plugins in your app.config.ts:

Version Resolution Priority

The library resolves versions in the following order: iOS:
  1. ios/Podfile.properties.jsonRiveRuntimeIOSVersion
  2. package.jsonruntimeVersions.ios (default)
Android:
  1. android/gradle.propertiesRive_RiveRuntimeAndroidVersion
  2. package.jsonruntimeVersions.android (default)