@dpoindexter wrote:
I am struggling with a very odd issue. I have a v1 app with a new page/controller that uses Google Maps API (no native plug-in used - just Javascript Google Maps API). The app works perfectly via Browser, DevApp and Ionic View. I am on Ionic Pro. The app builds fine locally and via Ionic Pro Dashboard. However, when I Deploy the app via the dashboard, it doesn’t work on iOS or Android. I have tried all sorts of variations on using (and not using)
$ionicPlatform.ready(function(){initialize();});
orionic.Platform.ready(initialize());
orgoogle.maps.event.addDomListener(window, 'load', initialize);
or just plaininitialize();
. I have also usedionic.Platform.isWebView();
to dodocument.addEventListener('deviceready', function () { initialize(); }, false);
for browser. Any ideas why it is not working (not loading Google Maps) once deployed?
Posts: 1
Participants: 1