Ionic - Problem loading Googlemaps to emulator and mobile device

Asked

Viewed 154 times

0

In the browser googlemaps loads normally, already in an emulator or mobile the application opens but everything is blank as in the photo, already installed the dependencies googlemaps, Geolocation and network.

Aplicativo executado pelo emulador

  • Error shown in console?

  • no error appears in the console

  • You’re using Chrome to look at the console, right?

  • yes, in Chrome it runs normal, only in the emulator that gives that problem

  • I don’t think you understand, try to inspect the emulator for Chrome: https://answall.com/questions/257350/howto check the console of an application

  • I know the question is old, but discovered the problem? In my case appears only the google logo, both on Android and iOS.

Show 1 more comment

1 answer

0

When the page goes blank there is some error. Check the Chrome console (How to open the console). It is very strange that you can run in the Browser and not in the Emulator/Mobile. Which command you are using?

ionic run android

To test on mobile (must be plugged in USB) use:

ionic run android --device
  • I used these same commands, but when it opens, it opens blank without error in the console

Browser other questions tagged

You are not signed in. Login or sign up in order to post.