Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova-plugin-googlemaps is not installed or ready yet IONIC 4 & Capacitor ios #283

Closed
4 tasks
THEDOWNCOUNTRY opened this issue Jan 17, 2020 · 16 comments
Closed
4 tasks

Comments

@THEDOWNCOUNTRY
Copy link

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

  • question
  • [ x] any problem or bug report
  • feature request

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

  • Android
  • [x ] iOS
  • Browser

cordova information: (run $> cordova plugin list)

insert the output from the command here

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

Current behavior:

It gives me the error [GOOGLEMAPS] cordova-plugin-googlemaps is not installed or ready yet when I try to open the map page.

Expected behavior:

To start the map

IMG_6992

Screen capture or video record:

Related code, data or error log (please format your code or data):

The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.
@wf9a5m75
Copy link
Contributor

Capacitor is not supported yet

@wf9a5m75
Copy link
Contributor

$> ionic cordova plugin add cordova-plugin-googlemaps

$> ionic cordova run android

@THEDOWNCOUNTRY
Copy link
Author

THEDOWNCOUNTRY commented Jan 18, 2020

It also did not work for ionic 4 with cordova it said. We need to run ionic cordova run browser or something. Could you provide private support for ios capacitor?

@wf9a5m75
Copy link
Contributor

Could you provide private support for ios capacitor?

I have no time to develop this.

@THEDOWNCOUNTRY
Copy link
Author

My next question is that. Should this plugin work on ionic 4 for iOS? because it does not it have an error saying that should not run on ionic serve.

@wf9a5m75
Copy link
Contributor

This plugin works with cordova.
ionic serve runs only web part.
That's why you need to use ionic cordova run iOS/android.

You can add -l option to live reload.

@dupiesdupreez
Copy link

Does the whole of the internet not contain an answer for this question?

@ksouthworth
Copy link

This plugin works with cordova.
ionic serve runs only web part.
That's why you need to use ionic cordova run iOS/android.

ionic cordova run ios

Does not work, though, on my machine it skips the build step for this plugin thinking it’s not a compatible iOS plugin for some reason?

@ndrake
Copy link
Contributor

ndrake commented Jan 27, 2020

The plugin doesn't currently support iOS when using Capacitor. It works find on iOS if you are using Cordova.

@ksouthworth
Copy link

The plugin doesn't currently support iOS when using Capacitor. It works find on iOS if you are using Cordova.

Thanks for the response, is there anyone working on iOS Capacitor support? Is it a small, medium, or large task to get Capacitor working with this plugin?

@unrealmach
Copy link

I have tested the implementation added to the BROWSER platform and it works excellent even if you have implemented Capacitor. But unfortunately, I failed to compile the Android app with this error: failed linking references.

@wf9a5m75
Copy link
Contributor

In order to support Capacitor iOS, I need to make a big change for three platforms, and unfortunately I have no time to work for that

@moplin
Copy link

moplin commented Jan 27, 2020

Masashi is there any way to help with those changes, there's a lot of bright people here. Maybe if you can share the idea of the problem and what would be required, the community could help.
I understand that if you are completely busy, you won't be able. But here are a few ones that need it, we might be able to put some time and pull the fix, of course, if we understand what's required.

@wf9a5m75
Copy link
Contributor

Thanks, but do you understand how does this plugin manage internally?
In general Cordova plugin, only one instance is available. But this plugin generates many instances as you know.
I need to make a big change for this internal implementation. This is not only for iOS but also Android and web platforms as well

@stevebrowndotco
Copy link

stevebrowndotco commented Feb 18, 2020

@THEDOWNCOUNTRY I have extensive experience with this plugin, YES it is possible to run ionic cordova in all three: ios, android, and iOS for ionic versions 3,4, and now 5. @wf9a5m75 has designed it that way, and the docs explain that. You must use cordova for it to work, there is no point asking to support capacitor because it's not designed that way.

What are you having trouble with exactly?

@wf9a5m75 wf9a5m75 closed this as completed May 2, 2020
@wf9a5m75
Copy link
Contributor

I made a fundraising of this topic.
If you really want to use this plugin on Capacitor iOS, please support my activity.

Fundraising : support for Capacitor iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants