Automatic uninstalling com.googlemaps.ios plugin

in ios, I’m trying to add ios platform using ionic cordova platform add ios then i got this message in adding ios platform

Installing "cordova-plugin-googlemaps" for ios

--[cordova-plugin-googlemaps]------------------------
From version 2.4.5, the cordova-plugin-googlemaps uses CocoaPod.
No longer necessary com.googlemaps.ios plugin.
Automatic uninstalling com.googlemaps.ios plugin...
-----------------------------------------------------

      Official document https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.3.0/README.md

then i checked the plugins using cordova-check-plugins
and the output was up to date

plugin: cordova-plugin-googlemaps
source: npm://cordova-plugin-googlemaps@^2.4.1
installed version: 2.4.6
remote version: 2.4.6

i tried to reinstall it again but still getting the same massage

$> cordova plugin list
bash: /library/java_home: No such file or directory
AnspireAgencys-iMac:Doctory anspireagency$ cordova plugin list
call-number 0.0.2 "Cordova Call Number Plugin"
cordova-android-support-gradle-release 1.4.4 "cordova-android-support-gradle-release"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-dialogs 2.0.1 "Notification"
cordova-plugin-facebook4 2.5.0 "Facebook Connect"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-google-analytics 1.8.6 "Google Universal Analytics Plugin"
cordova-plugin-googlemaps 2.4.6 "cordova-plugin-googlemaps"
cordova-plugin-ionic-webview 1.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-screen-orientation 3.0.1 "Screen Orientation"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.4.1 "SocialSharing"
cordova-sqlite-storage 2.4.0 "Cordova sqlite storage plugin"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
uk.co.workingedge.phonegap.plugin.launchnavigator 4.2.2 "Launch Navigator"

You have it there tho:

cordova-plugin-googlemaps 2.4.6 "cordova-plugin-googlemaps"

yeah i see it but i got this error in developer inspector when i try the emulator

try removing the plugin with ionic cordova plugin rm cordova-plugin-googlemaps (if it says it is not installed then delete it from your package.json

then add this to your package.json:


    "cordova-plugin-googlemaps": "2.2.2",
    "cordova-plugin-googlemaps-sdk": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git#2.7.0",

and then delete the Platforms and Plugins folders and then try again to add iOS

I tried what you say and still getting the message

Discovered plugin "cordova-plugin-googlemaps" in config.xml. Adding it to the project

Installing "cordova-plugin-googlemaps" for ios

--[cordova-plugin-googlemaps]------------------------
From version 2.4.5, the cordova-plugin-googlemaps uses CocoaPod.
No longer necessary com.googlemaps.ios plugin.
Automatic uninstalling com.googlemaps.ios plugin...
-----------------------------------------------------

      Official document https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.3.0/README.md Please consider to buy a beer for us 🍺 https://github.com/mapsplugin/cordova-plugin-googlemaps#buy-us-a-beer


Adding cordova-plugin-googlemaps to package.json

Saved plugin info for "cordova-plugin-googlemaps" to config.xml

It’s not using what i put in previous post, notice how it says From version 2.4.5 while the one I posted is 2.2.2

i did what you say and now I’m getting this


the maps working fine in android only

Check out this post. I tried this and it worked for me.

following your steps, and when run npm i to refresh the dependency, the progress bar stuck on 10% and must break the command (Ctrl + C)

Googlemaps 2.4.6 is impossible to add to Ionic project on Mac. it just does not work

Any suggestion??

please help.

get into your ios folder and run pod install @derman10