ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

ionic v5? #351

Open nick-kisanhub opened 3 years ago

nick-kisanhub commented 3 years ago

Hi. I'm trying to get this working in the latest version of Ionic and i'm struggling at the first hurdle. Does this plugin work on a v5 Capacitor project? If so where should the API key go? (In v5 it seems that this Config.xml is a generated file). It looks like all the existing documentation is for v4 and below. Thanks for any help.

Nick

wf9a5m75 commented 3 years ago

Current version doesn't work on capacitor

stevebrowndotco commented 3 years ago

@nick-kisanhub I'm using it on ionic 5, and you can still use Cordova. But choosing cordova means you can't use capacitor. I believe that @wf9a5m75 working on the Capacitor version which is driven by donations.

providencial commented 3 years ago

this plugin works on capacitor ionic?? if so, how should i install it? Because when I do install these packages:

"@ionic-native/google-maps": "^5.5.0", "@ionic-native/native-geocoder": "^5.31.1", "cordova-plugin-googlemaps": "^2.6.2", "cordova-plugin-nativegeocoder": "^3.4.1",

Then on Android studio I can't generate the .apk. It gives me a lot of errors. 
But if I don't include   "cordova-plugin-googlemaps": "^2.6.2",   I can generate the .apk. The problem is that the map on the APP displays a message ->  "Error: [GoogleMaps]cordova-plugin-googlemaps is not installed or not ready yet." When I create the map with "GoogleMaps.create"