Closed THEDOWNCOUNTRY closed 4 years ago
Capacitor is not supported yet
$> ionic cordova plugin add cordova-plugin-googlemaps
$> ionic cordova run android
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?
Could you provide private support for ios capacitor?
I have no time to develop this.
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.
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.
Does the whole of the internet not contain an answer for this question?
This plugin works with cordova.
ionic serve
runs only web part. That's why you need to useionic 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?
The plugin doesn't currently support iOS when using Capacitor. It works find on iOS if you are using Cordova.
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?
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.
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
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.
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
@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?
I made a fundraising of this topic. If you really want to use this plugin on Capacitor iOS, please support my activity.
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)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
Screen capture or video record:
Related code, data or error log (please format your code or data):