There's probably a better way than setting -1 to avoid this error, but I'm not sure what the right behavior to handle nullable NSNumber correctly on libraries.
Test Plan
What's required for testing (prerequisites)?
What are the steps to test it (after prerequisites)?
Compatibility
OS
Implemented
iOS
✅
Android
✅
Checklist
[X] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I added a sample use of the API in the example project (example/src/App.tsx)
Summary
fixes: https://github.com/swan-io/react-native-browser/issues/4
There's probably a better way than setting
-1
to avoid this error, but I'm not sure what the right behavior to handle nullable NSNumber correctly on libraries.Test Plan
What's required for testing (prerequisites)?
What are the steps to test it (after prerequisites)?
Compatibility
Checklist
README.md
example/src/App.tsx
)