Google map api


i have an issue in google maps

i am implementing offline and online feature

when app load first time if no internet and if turn on internet ,when loading google maps show error google undefined and if app reloads then google maps also loading

i declared,

declare var google;

If you taking about the @ionic-native/google-maps, the device must be online when the application is launched at the first time, in order to auth your app with Google.
There is no solution.