profenpoche opened a new issue, #1519:
URL: https://github.com/apache/cordova-android/issues/1519

   # Bug Report
   
   ## Problem
   
   window.location.reload() doesn't work since cordova-android-10
   
   ### What is expected to happen?
   
   Current page should reload
   
   ### What does actually happen?
   
   Android popup "Application Error"
   net::ERR_CONNECTION_REFUSED (https://localhost/<page_name>)
   
   ## Information
   
   AndroidInsecureFileModeEnabled=true is suggested as a solution but doesn't 
work on android 12 (js files won't load at startup : Failed to load resource: 
net::ERR_FILE_NOT_FOUND  cordova.js:1)
   
   
   ### Command or Code
   
   from chrome inspect or putting a button anywhere in html : 
window.location.reload()
   
   
   ### Environment, Platform, Device
   window 10 and ubuntu 20.04
   all android tested failed on reload
   
   ### Version information
   package.json
   "@angular/core": "^14.2.5",
   "@ionic/core": "^6.3.0",
   "cordova-android": "^11.0.0",
   
   tsconfig:
   target : "es2020"
   
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to