Google map is not working

I was testing in my mobile. no error found. white screen shows.
i used “ionic cordova run android --device --livereload -c --address 192.168.0.103”

ts file

import {GoogleMaps,GoogleMap,
  GoogleMapsEvent,
  GoogleMapOptions,
  CameraPosition,
  MarkerOptions,
  Marker} from '@ionic-native/google-maps';
export class Login {
 map: GoogleMap;
constructor(
  public googleMaps: GoogleMaps
)
	loadMap() {
		let mapOptions: GoogleMapOptions = {
		  camera: {
			 target: {
			   lat: 43.0741904,
			   lng: -89.3809802
			 },
			 zoom: 18,
			 tilt: 30
		   }
		};

		this.map = GoogleMaps.create('map_canvas', mapOptions);

		let marker: Marker = this.map.addMarkerSync({
		  title: 'Ionic',
		  icon: 'blue',
		  animation: 'DROP',
		  position: {
			lat: 43.0741904,
			lng: -89.3809802
		  }
		});
		marker.on(GoogleMapsEvent.MARKER_CLICK).subscribe(() => {
		  alert('clicked');
		});
	}
	ionViewDidLoad(){
		this.loadMap();
	}
}

html file

<div id="map_canvas"></div>

style file

#map_canvas {
height: 100%;
}

google api

Untitled

Do you execute the loadMap() after platform.ready()?

Yes. same white screen

i have written code in constructor. is this right?

this.platform.ready().then(() => {
		  this.loadMap();
		});

Ok, confirm the native log using logcat command.
If the api key authentication is failed, there should be some message.

Even if you can’t solve the problem by yourself, please share your project files on GitHub.

You might have taken care of it, just on a note, have you given sufficient height for the map div ?

#map_canvas {
height: 100%;
}

when i run( ionic cordova run android --device ) in android device then gogole map does not show. only show white screen.
when i build apk file and run apk file then google map is working.
Is it possible to run android device?

run ionic cordova run android --prod
It should work on device
As its a google native sdk plugin, map will not show in browser too

ionic cordova run android --prod not working for me

can you share me the error ?

only white screen. no error found.

How do write
let latlng: LatLng = new LatLng(30.068544, 31.349004);// shows LatLng error
instead of below code

let marker: Marker = this.map.addMarkerSync({
      title: 'Ionic',
      icon: 'blue',
      animation: 'BOUNCE',
      position: {lat: ..., lng: ...}
    });

As I said, if you can’t solve the problems by yourself, please share your project files on GitHub. I’m busy. I don’t want to spend my limited private time without reproduce project files.

i found solution here for ionic4 google map.