Hi! Hope i’m not asking any dumb thing, but I’m having real trouble on handling this issue.
I’m using Google Places API in one of my views.
Also I’m handling internet connection detection, so the app can’t be used when there’s no internet.
BUT when I open the app, with no internet, it crashes (blank page) and get the next error:
Uncaught ReferenceError: google is not defined ionic.nightly.bundle.js:
I just need the app not to crash on load, and then I can handle the rest when there is no connection.
Is there a way to avoid external calls when the device loads the app with no internet? Even just for taking the user to another static page.
I’d appreciate any help.
Thanks in advance! This is huge deal and I can’t launch my app until I solve it.