ionic-team / ionic-native-google-maps

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

Please can we start a discussion for supporting capacitor. #241

Closed stevebrowndotco closed 4 years ago

stevebrowndotco commented 4 years ago

I'm submitting a ... (check one with "x")

If you choose 'problem or bug report', please select OS: (check one with "x")

Hello, this is a brilliant plugin. I am using it in production on a Cordova app. Please can we discuss supporting ionic capacitor/iOS with ionic google maps?

It works on Android, however it does not work on iOS, (I know that this is not new information) I have researched the author of this plugin's posts and I know that he is aware. Also, capacitor appears to be the future for Ionic.

Many developers whom are using capacitor are following this article to instead use the js sdk. This is an inferior solution because it does not support offline, which is essential for many apps, such as mine.

So please can I ask, what is the progress for supporting capacitor/iOS?

Thank you.

wf9a5m75 commented 4 years ago

I tested the modified version of cordova-plugin-googlemaps, which is core plugin of ionic-native/googlemaps worked on capacitor. But I stopped development, because run out of my motivation.

stevebrowndotco commented 4 years ago

Hi, thank you for your reply. Which modified version are you speaking of?

wf9a5m75 commented 4 years ago

cordova-plugin-googlemaps but code is not public available.

stevebrowndotco commented 4 years ago

Do you know how I can use it in my project, if it works?

wf9a5m75 commented 4 years ago

As I said, not public available.

stevebrowndotco commented 4 years ago

I hope you don't mind me asking, but if you have worked on a version of the plug-in that supports capacitor, and it works, can the Ionic company not provide a donation or some renumeration to help assist? Surely that will help everyone.

THEDOWNCOUNTRY commented 4 years ago

I get this error "cordova-plugin-googlemaps is not installed or not ready yet" on iOS android works fine. What should I do?

dupiesdupreez commented 4 years ago

For any one wanting to use google maps with Capacitor, you can follow this tutorial. It works for both android and IOS, tested it myself.

Using Google Maps and Geolocation in Ionic with Capacitor

hellokingdom commented 4 years ago

It's worth noting that using the JavaScript API is charged ($7 per 1000) whilst using the native SDK's is free:

https://cloud.google.com/maps-platform/pricing/

menosprezzi commented 4 years ago

@THEDOWNCOUNTRY you need to setup cocoapods to run with the plugin on iOS

tepafril commented 4 years ago

@menosprezzi does it work on ionic capacitor?

wf9a5m75 commented 4 years ago

I made a fundraising to implement the code for supporting Capacitor iOS. Please join and support the project!

Fundraising: Support for Capacitor iOS platform