Closed vonovak closed 3 years ago
I'm getting null sometimes when selecting +250 items and providing copyTo: 'cachesDirectory'
.
Latest version of the library and latest version of iOS.
I'm getting null sometimes when selecting +250 items and providing
copyTo: 'cachesDirectory'
. Latest version of the library and latest version of iOS.
is something present in the error
field then?
Disregard, it was an error in my side. Not this awesome library :)
On Mar 3, 2022, at 7:11 PM, Vojtech Novak @.***> wrote:
I'm getting null sometimes when selecting +250 items and providing copyTo: 'cachesDirectory'. Latest version of the library and latest version of iOS.
is something present in the error field then?
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.
Summary
motivation:
fileCopyUri
is now same asuri
if nocopyTo
option was provided. This PR makes is so thatfileCopyUri
is specified only ifcopyTo
is passed, otherwise is null. This makes the api a little cleaner.Also made some other minor improvements to code.
Test Plan
tested on ios emulator and android device using the example app
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility
Checklist
README.md