bug: Android. Big files are not processed #401
Labels
bug/fix
Something isn't working
needs: triage
package: file-picker
platform: android
Android platform
Plugin(s)
Version
6.2.0
Platform(s)
Current behavior
Hey,
while small files are working fine, when I select a big file (>~50MB) on Android, the plugin does not proceed.
The File picking overlay is showing up and I select a big file from the Downloads folder on my Android Simulator (Pixel 4 API 33 (emulator) (Pixel_4_API_33)). The overlay disappears and I'm back in my app. But there is no processing, no positive (sucess) or negative (error) outcome.
I tried with several file types, .mov, .csv, .pdf. My assumption is, as soon as the file exceeds a certain threshold file size, the plugin is not working. I added a link in the README of the reproduction repository for a file that is not working.
Current result: No event, no error, no feedback from the plugin
Expected behavior
Expected result: FilePicker retrieves data and calls its callback function, whether with file data (success) or with an error message.
Reproduction
https://github.com/de-dan/filepickerissue
Steps to reproduce
Run this capacitor app on an android device
Pick a big file (I wasn't able to narrow it down) I used sample_1920x1080.mov from https://filesamples.com/formats/mov
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/core: 6.2.0
@capacitor/cli: 6.2.0
@capacitor/android: 6.2.0
Before submitting
The text was updated successfully, but these errors were encountered: