When I run the app from the browser the map is loaded but when I run the ionic cordova build and generate the apk the map does not show me anything and the page is blank and does not load the map

Good morning community create this session to ask the following question I have created an app in ionic with cordova and that and using the google map api when I run the app from the browser the map is loaded but when I run the ionic cordova build and generate the apk the map does not show me anything and the page is blank and does not load the map.

Hi @jacalzadam98 , could you provide more information about it?

  • Ionic info
  • What plugin did u use?
  • How did you used google map api ?
  • Are there any error messages ?

You can try debug to real device or emulator with chrome dev tools ( chrome://inspect/#devices )
Make sure you run in dev mode, e.g. ionic cordova run android