I’m using ionic-native plugin and it works just fine with the browser, but when i build it to Android it gives me this grey screen with google logo.
Version Ionic V3.
I’ve set package.json with the api key:
cordova-plugin-googlemaps": {
"API_KEY_FOR_ANDROID": <api-key>,
"API_KEY_FOR_IOS": <api-key>
}
config.xml
<plugin name="cordova-plugin-googlemaps" spec="2.4.6">
<variable name="API_KEY_FOR_ANDROID" value="<api-key>" />
<variable name="API_KEY_FOR_IOS" value="<api-key>" />
</plugin>