Skip to content

fix: make NSNumber nonnull on iOS #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

huextrat
Copy link

Summary

fixes: #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

OS Implemented
iOS
Android

Checklist

  • 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)

@zoontek
Copy link
Contributor

zoontek commented Apr 18, 2024

Thanks, but fixed in #6 and available in 0.2.1

@zoontek zoontek closed this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nullable NSNumber should be explictly nonnull to be compatible with Android
2 participants