Skip to content

How to upgrade the plugin?

Masashi Katsumata edited this page Mar 4, 2015 · 8 revisions

###Android

$> cd (your project directory)
$> cordova plugin rm plugin.google.maps
$> cordova plugin add plugin.google.maps --variable API_KEY_FOR_ANDROID=
$> cordova plugin list

###iOS (method 1)

$> cordova -v
3.6.3-0.2.13
$> cd (your project directory)
$> cordova plugin rm plugin.google.maps
$> rm -rf platforms/ios/(your app)/plugins/com.googlemaps.ios/
$> rm -rf platforms/ios/(your app)/plugins/plugin.google.maps/
$> cordova save plugins --experimental
$> cordova platform rm ios
$> cordova platform add ios
$> cordova restore plugins  --experimental
$> cordova plugin add plugin.google.maps --variable API_KEY_FOR_IOS=
$> cordova plugin list

###iOS (method 2) @Hirbod figured out a better way to update the plugin. (Thank you so much! 💯 ) Check this out! https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/215

See this simple video:

upgrade steps

  1. Open plugins
  2. sort by type
  3. mark all .m files
  4. toggle "target membership" active.
  5. Do the same for the frameworks.

You're done!

Will work for all CDVPlugin not Found bugs.

Join the official community

New versions will be announced through the official community. Stay tune!

Do you have a question or feature request?

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.

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/tree/master/v2.0.0/README.md

Clone this wiki locally