V
V
vanyamasnuha2020-07-29 23:42:35
JavaScript
vanyamasnuha, 2020-07-29 23:42:35

Why doesn't fetch work in quasar.js on cordova?

I am trying to download a file from the public folder in a quasar.js application using fetch. The application works fine when run with in debug mode (files are loaded via wifi from the computer), but when running the release build, fetch does not work without throwing a normal exception.

MADE
fetch() in cordova not able to upload files, only makes http/https requests. Zayuzal XMLHttpRequest and everything earned.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vanyamasnuha, 2020-07-30
@vanyamasnuha

fetch() in cordova doesn't know how to upload files, it only makes http/https requests. Zayuzal XMLHttpRequest and everything earned.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question