Skip to content

refactor: copy streams differently #842

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

Merged
merged 2 commits into from
Jul 9, 2025

Conversation

vonovak
Copy link
Member

@vonovak vonovak commented Jul 9, 2025

  • reuse the same, more conservative but proven method of stream copying in keepLocalCopy and in saveDocuments (buffers)
  • in case of copying between File*Streams , this method should use an optimized impl on Android >=10

Copy link

changeset-bot bot commented Jul 9, 2025

🦋 Changeset detected

Latest commit: 7dac11f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@react-native-documents/picker Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vonovak vonovak merged commit 4b2b80e into main Jul 9, 2025
4 checks passed
@vonovak vonovak deleted the vonovak/refactor_copy_streams_differently branch July 9, 2025 21:56
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