When running the application on an emulated Google Pixel 3XL device running Android 10, the JavaScript that powers the application does not execute. The logs say:
Failed to load module script: The server responded with a non-JavaScript MIME type of "".
Strict MIME type checking is enforced for module scripts per HTML spec.
Research on Stack Overflow claims that this is easily solvable by simply serving the files on a local server. However, as we're using Cordova (PhoneGap), this is not possible. We need the file scripts/index.js to import statically without being on a server.
When running the application on an emulated Google Pixel 3XL device running Android 10, the JavaScript that powers the application does not execute. The logs say:
Research on Stack Overflow claims that this is easily solvable by simply serving the files on a local server. However, as we're using Cordova (PhoneGap), this is not possible. We need the file
scripts/index.js
to import statically without being on a server.