framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.08k stars 3.23k forks source link

Error routes when AndroidInsecureFileModeEnabled is enabled #4234

Closed rodrigoperugachi closed 7 months ago

rodrigoperugachi commented 10 months ago

Describe the bug

I make a mobile application for android, the application needs to connect to http service to do GET and POST, when I try to connect and have the preference AndroidInsecureFileModeEnabled set to true the GET and POST are fine but when I try move to other page show me the next error. image

To Reproduce

Steps to reproduce the behavior:

  1. Create a new application using framework7-cli with this options: image

    run the command: npm install image

    and then run: npm run build-cordova image

    Move the cordova directory and run the app to test it. image image

  2. Check the route, click the About link for example image image

  3. In the config.xml, change the preference like this: image

  4. Run the app again and press the about link for example or any link to use a route. Open devTools in chrome and yo can see the next errors. image

Expected behavior

When set the preference AndroidInsecureFileModeEnabled to true, the routes should be work.

Actual Behavior

The routes does not work.