Skip to content

SeekTo crash fix when you was trying to partially read large file which is over 2 GB #1250

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

planitar-osergiienko
Copy link

There was a crash in SeekTo when you was trying to partially read large file which is over 2 GB.
The issue was in type mismatch.
Additionally new NSNumber is supported by react-native 0.79.

planitar-osergiienko and others added 5 commits April 22, 2025 13:45
There are 2 issues fixed:

Large file read offset (the type was incorrect, int->unit64 on ios and int->double on Android)
react-native 0.79.0 types compatibility (it does not support NSInteger for method parameters)
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.

1 participant