-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Bug]: @capacitor/google-maps "Error calling method create on plugin CapacitorGoogleMaps: No method found." on iOS #7503
Comments
I was able to pin the error down to the |
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. |
This issue is about iOS, if you are having an issue on Android then it's a different problem, please, create a new issue on https://github.com/ionic-team/capacitor-google-maps/issues BTW, your API key is visible through git history, I would suggest you to invalidate it. |
Thanks for the reply. I moved away from Google Maps to an OSM based solution. After trying 3 different GM-based approaches I learned that Google is just too incompetent to create a performant solution. I had to do the whole native stuff only because the JS SDK doesn't perform well with many markers added. The OSM SDK just renders them with less issues than anything I encountered with Google Maps. Sometimes I wonder how Google is still such a big company because so often they don't care to deliver decent SDKs :-( Where do you see my API key? |
There was a comment from an user having a different problem on Android and they provided a sample app with their API key on it, my comment was addressed to them, but they have removed the comment from here. You must have seen it since you added a reaction to it before it was deleted. They have reported the issue on https://github.com/ionic-team/capacitor-google-maps/issues, but then they closed it because they found out they were putting the API key in the wrong place. Since you have moved away from Google Maps I guess you won't be providing a sample app for the issue, so I'm going to close. |
Hello! I have the same problem. Can you give me your solution please? |
My solution was to move away from every plugin that is related to Google Maps. Not only do the plugins have a lot of bugs, the underlying Google SDK is shit. Google does not seem to care for performance. I moved to MapTiler and the beauty of this solution is that the Web SDK is performant enough to work inside the Android/iOS WebView. So I don't need to fiddle around with solutions that put native elements behind my WebView, each with it's own bugs and quirks. This saves me a lot of headache because now I can implement the map once and it actually works everywhere. |
Thanks a lot for the response! I already finish my app so this is a not a solution for me. |
Fingers crossed that you get it working ;-) It took me several weeks to find a proper maps solution but rendering several hundred pins on a map is the major feature of my app, so I had to find something that works. It's still difficult, but r/n the bottleneck is not the map but the data handling behind it, which is a huge improvement :-D Nice to meet you too :-) |
I wish u luck! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0
Installed Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0
Other API Details
I'm using
@capacitor/google-maps@6.0.0-rc.0
because the@latest
version won't install without--legacy-peer-deps
.EDIT: I tried it with
@latest
which is5.4.1
and got the same issue.Platforms Affected
Current Behavior
When running the app from Xcode on a physical iPhone or in the emultator, I get the following error:
The
<capacitor-google-map>
element stays empty.The same setup works well on Android.
Expected Behavior
No error, map renders
Project Reproduction
//
Additional Information
No response
The text was updated successfully, but these errors were encountered: