Bug Report
File assets that are downloaded making use of HTTP Range requests fail to download (sometimes).
Capacitor Version
npx cap doctor output:
Installed Dependencies:
@capacitor/ios not installed
@capacitor/electron not installed
@capacitor/cli 2.1.0
@capacitor/android 2.1.0
@capacitor/core 2.1.0
Affected Platform(s)
Current Behavior
File assets that are downloaded making use of HTTP Range requests fail to download (sometimes).
In my case this assets are sound assets in .wav format. The issue is that this audios, are sometimes just partially loaded, or even not loaded at all... This bug is only reproducible when running the app with capacitor.
Here are some captures of the errors:
First request:

Second request (fails:

Expected Behavior
I expect that files that are downloaded using HTTP Range Request are fully and correctly downloded.
Reproduction Steps
Just put some .wav files on the assets folder, and try to reproduce that audio in a capacitor android app. You will see that the downloading sometimes fails.
Last words
I can't dig any more on the issue for now since I am a new capacitor user:), but if necessary and with some hints or guidance I could dig more into it and help solve this issue.
Thanks!
Bug Report
File assets that are downloaded making use of HTTP Range requests fail to download (sometimes).
Capacitor Version
npx cap doctoroutput:Installed Dependencies:
@capacitor/ios not installed
@capacitor/electron not installed
@capacitor/cli 2.1.0
@capacitor/android 2.1.0
@capacitor/core 2.1.0
Affected Platform(s)
Current Behavior
File assets that are downloaded making use of HTTP Range requests fail to download (sometimes).
In my case this assets are sound assets in .wav format. The issue is that this audios, are sometimes just partially loaded, or even not loaded at all... This bug is only reproducible when running the app with capacitor.
Here are some captures of the errors:
First request:

Second request (fails:

Expected Behavior
I expect that files that are downloaded using HTTP Range Request are fully and correctly downloded.
Reproduction Steps
Just put some .wav files on the assets folder, and try to reproduce that audio in a capacitor android app. You will see that the downloading sometimes fails.
Last words
I can't dig any more on the issue for now since I am a new capacitor user:), but if necessary and with some hints or guidance I could dig more into it and help solve this issue.
Thanks!