sencha-extjs-examples / Coworkee

Ext JS Employee Directory Example Application
MIT License
128 stars 88 forks source link

Not working on Cordova #4

Open hugobrizard opened 7 years ago

hugobrizard commented 7 years ago

Does not seem to be working when you build on cordova and run on a device (iOs or Android)...

The dynamic xtype loading into the container does nothing, so the screen remains white...

simonbrunel commented 7 years ago

@hugobrizard Thank you for your report. It's actually a bug with the way how we require the Google Map API: '//maps.googleapis.com/maps/api/js', which is incorrectly resolved inside Cordova (file:///... instead of https://...).

Starting 6.5.1 (not released yet), it will be possible to override the required URL from the app.json:

"mashup": {
    "redirect": {
        "//maps.googleapis.com/maps/api/js{options}": "https://maps.googleapis.com/maps/api/js{options}"
    }
}
need4android-com commented 2 years ago

I've run the apk build in my device (android) it starts loading login page but after that it shows a white screen even I've set the google map api as mentioned above any fix for this issue would be great