Skip to content

Commit d7c90db

Browse files
authored
Enhance README with SDK customization and error handling (#50)
Added details on customizing native SDK versions and error handling.
1 parent 9431e59 commit d7c90db

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ function App() {
5858

5959
> **⚠️ Advanced Usage:** Customizing native SDK versions is intended for advanced users only. Using non-default versions may cause build-time errors, or compatibility issues. Always review and update custom versions when upgrading @rive-app/react-native.
6060
61+
<details>
62+
63+
<summary>Custom Native SDK Version instructions - <b>only use if you need it!</b></summary>
64+
6165
By default, @rive-app/react-native uses specific versions of the Rive native SDKs defined in the library's `package.json` (`runtimeVersions.ios` and `runtimeVersions.android`). You can customize these versions if needed.
6266

6367
### Vanilla React Native
@@ -113,6 +117,7 @@ export default {
113117
},
114118
};
115119
```
120+
</details>
116121

117122
## Error Handling
118123

0 commit comments

Comments
 (0)