Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70762

App works in browser, DevApp and Ionic View, but not when using Deploy

$
0
0

@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();}); or ionic.Platform.ready(initialize()); or google.maps.event.addDomListener(window, 'load', initialize); or just plain initialize();. I have also used ionic.Platform.isWebView(); to do document.addEventListener('deviceready', function () { initialize(); }, false); for browser. Any ideas why it is not working (not loading Google Maps) once deployed?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>