You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix import cycle by extracting NitroRiveView to separate file
- Make error types human-readable in logs (show enum names instead of numbers)
- Improve iOS error detection using RiveErrorCode enum values instead of string comparisons
- Rename NativeRiveError to NitroRiveError for consistency with Nitro Modules naming
- Make detectErrorType return tuple with both error type and message
- Add NitroRiveError.fileNotFound case for asset loading errors
- Remove non-existent error types (TextRunNotFoundError, IncorrectAnimationName)
- Map instanceNotFound errors to DataBindingError type
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
@@ -110,7 +111,7 @@ class RiveReactNativeView: UIView, RiveStateMachineDelegate {
110
111
let viewModel = riveFile.defaultViewModel(for: artboard),
111
112
let instance = viewModel.createInstance(fromName: name)
112
113
else{
113
-
throwNativeRiveError.instanceNotFound(message:"\(name) instance not found")
114
+
throwNitroRiveError.instanceNotFound(message:"\(name) instance not found")
114
115
}
115
116
stateMachine?.bind(viewModelInstance: instance)
116
117
// this should be added if we support only playing artboards on their own - https://github.com/rive-app/rive-nitro-react-native/pull/23#discussion_r2534698281
0 commit comments