Cordova plugin google-maps install


#1

I have installed the plugin cordova-plugin-googlemaps using this command:
'ionic plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE"

When trying to run my application on an Android device I get this message when trying to use the Geocoder:
'Native: tried accessing the Geocoder plugin but it's not installed. Install the Geocoder plugin: 'ionic plugin add cordova-plugin-googlemaps'

When running the suggested command i get the following message:
'Plugin "cordova-plugin-googlemaps" already installed on android'

I have no clue how to resolve this. I have tried removing and adding the android platform, upgrading the Android sdk, restricting my API-key to Android-apps and placing the Geocoder call in a Platform.ready()-statement.


#2

Are you using Ionic Native? https://ionicframework.com/docs/native/google-maps/