The vast majority of Google Maps integration implementations with ionic start with the inclusion of the script called <script src = 'https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=true'> < / script> in the index.html
The problem is that I am having a big problem when someone opens your application while offline, then wander cellular or Wi-Fi range and is online again? Your maps will stop working even if they are now online, since the Maps API could not be loaded when the application has been opened!
The right thing to do is load the Google Maps API when you are online, not using a Githubissues.
Githubissues is a development platform for aggregating issues.
The vast majority of Google Maps integration implementations with ionic start with the inclusion of the script called
<script src = 'https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=true'> < / script>
in the index.htmlThe problem is that I am having a big problem when someone opens your application while offline, then wander cellular or Wi-Fi range and is online again? Your maps will stop working even if they are now online, since the Maps API could not be loaded when the application has been opened!
The right thing to do is load the Google Maps API when you are online, not using a Githubissues.