-
Notifications
You must be signed in to change notification settings - Fork 918
Changing to Google Maps release key
When it comes to releasing your app, you need to change the Google maps API key to the release Key otherwise you will get a blank map. These instructions apply to Cordova apps.
You can see the instructions on generating the release keys here on StackOverflow
After getting your Google maps release key you need to change it in the Android.json file in the plugins directory. If you don't change it there, your Android Manifest will keep being overwritten with the debug key you used to install the plugin.
If your manifest file keeps getting overwritten with the debug key, you can use this command to search for places your Google Maps debug key was stored.
grep -rnw 'directory' -e 'YOUR_GOOGLE_MAPS_KEY'
directory would be your current directory, './'
Good luck.
If you get an error, feel free to ask me on the official community or the issue list.
New version 2.0-beta2 is available.
The cordova-googlemaps-plugin v2.0 has more faster, more features.
New versions will be announced through the official community. Stay tune!
Feel free to ask me on the issues tracker.
Or on the official community is also welcome!
New version 2.0-beta2 is available.
The cordova-googlemaps-plugin v2.0 has more faster, more features.