-
Notifications
You must be signed in to change notification settings - Fork 131
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
MissingPluginException(No implementation found for method getInstalledMaps on channel map_launcher) #182
Comments
That seems like something that would happen if you installed the plugin into already running app because it has the dart part but not native one. |
Hey @mattermoran , yup that is what I google-ed and found too. Unfortunately, the issue persists still. I tried to re-build the app from following methods, none works.
I even tried to uninstall the app, and reinstall, no joy too :( |
Could you try to clone the repo and run the included example app to see it works? |
@mattermoran yup, I've tested the example app and it is working correctly on my simulator. Hence I wonder which part of my project not installing the package correctly. |
It's very strange because there should be nothing special. |
I'll be closing this issue as I don't think it's an issue with this plugin. |
I am facing this issue right now, and it's blocking a release. Many things have happened lately with platform updates mostly from Android side, with the advent of new permissions and foldable devices. I also had to upgrade many other libs and I'm even considering reassembling the entire app on top of a new Flutter (blank) application — which would take the team several days, but it's been weeks of fixing stuff so far already. Forgive me the rant. Let me know if I can help debugging this, as it may affect applications transitioning between platform versions. I suspect of something at the Gradle layer, but I'm no expert. |
I say that because map_launcher works as expected when in debug mode. |
@emyller does it work on a freshly created flutter project? I would be happy to help out but without being able to reproduce I have no way of understanding what's going on. |
@mattermoran It took us a few days — as mentioned above — to reassemble the entire app on top of a new I don't know what could have changed yet, but it's certainly not our own code. I will soon check out the delta for anything relevant. For now we really need to unblock releasing. Thank you for being around, hopefully I'll be able to provide helpful intel soon. |
The issue happens as soon as one enables shrinking when in release mode. This explains why the plugin only works in debug mode. @mattermoran I believe there must be some rule to add to |
I read and experimented a bit further. In order to fix this issue right now, the developer must add the following to their
Now I am not sure if the library is able to include its own ProGuard-rules file, or if this just has to be added to the documentation. I am sorry I can't find time right now to learn more and send a patch — though I might sometime soon. Happy New Year! |
Thanks for the investigation. It explains why the plugin was being stripped out. |
I am getting the error as per title in
Working fine in
Added the following to Info.plist
And this is my source code
It basically failed to read the function .installedMaps
The text was updated successfully, but these errors were encountered: