You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ! Thanks for working on this project, we're very happy with ! Here is a bug I noticed.
I'm happy to work on a PR, just let me know if I should handle the default value on the TS side or in the Android implem (or both) !
Current behavior
Calling backgroundUpload without providing and uploadType in the uploader options throws a NoSuchKeyException: uploadType error on Android
Expected behavior
Calling backgroundUpload without uploadType should not throw. uploadType should default to UploadType.BINARY_CONTENT as expected when reading the types (and as implemented in iOS)
Run example app on Android with line 255 of example/src/Screens/Video/index.tsx commented out. => No TS error
Navigate to Video Screen and try any Upload(PUT) button
See result here
(Should happen without any code modification on the exampleExpo app but I did not manage to build it)
The text was updated successfully, but these errors were encountered:
Hi ! Thanks for working on this project, we're very happy with ! Here is a bug I noticed.
I'm happy to work on a PR, just let me know if I should handle the default value on the TS side or in the Android implem (or both) !
Current behavior
Calling
backgroundUpload
without providing anduploadType
in the uploader options throws aNoSuchKeyException: uploadType
error on AndroidExpected behavior
Calling
backgroundUpload
withoutuploadType
should not throw.uploadType
should default to UploadType.BINARY_CONTENT as expected when reading the types (and as implemented in iOS)Platform
React Native Version
0.72.7
React Native Compressor Version
1.8.22
Reproducible Steps And Demo
Run example app on Android with line 255 of
example/src/Screens/Video/index.tsx
commented out. => No TS errorNavigate to Video Screen and try any
Upload(PUT)
buttonSee result here
(Should happen without any code modification on the exampleExpo app but I did not manage to build it)
The text was updated successfully, but these errors were encountered: