Closed Goran-coder closed 10 months ago
Can you try the flutter clean
command and running again?
I have tried many times, while looking at other similar issues but it didn't work. Tried it now again and the same error happens. Also flutter doctor
gives no issues.
I'm going to need more info to debug. Can you provide flutter doctor --verbose
output?
Also could you try to create a brand new flutter app and add map launcher as a dependency to see if it still happens?
Here is the output of flutter doctor --verbose
:
I will create a new app and try it thank you for the idea! Will update you as soon as I am done with trying that.
Okey, so It works on a brand new project, goes like a glove. Something is wrong with my frizer_ease project.
So I have removed the dependency and the code for opening maps. Then the emulator will start. While the emulator being 'hot', I add the dependency and the code. Then I do the hot restart and the following error happens when I click the button that opens maps:
When I close the connection so the emulator is no longer 'hot' it will not start again and everything the same happens as the original post. All errors are the same.
Could you also share your pubspec.yaml
as well as the Podfile
?
Here is the pubspec.yaml
:
And here is the Podfile
:
As you mentioned it works in a brand new project which means most likely there was some caching issue. I'm closing this. Let me know if you still think it's a problem with this plugin.
I have a Mac and I tried running the flutter app that uses map_launcher plugin on Iphone 14 emulator. The same app with your plugin works on android emulator. When I debug for Iphone emulator from vscode I get the following error:![tata-gotovo](https://github.com/mattermoran/map_launcher/assets/116684618/e2d14d47-e5c0-49d0-904d-2532a2020ba4)
Also when I try in xcode I get this error:![tata2](https://github.com/mattermoran/map_launcher/assets/116684618/709ffac7-85a2-4acb-a2c4-5cba10ea8f37)
I have added needed lines to Info.plist
I am not sure what is wrong. I have tried changing the Podfile to add that dependency from cocoapods, but cocoapods does not know what is map_laucher. So
pod search map_launcher
gives back[!] Unable to find a pod with name, author, summary, or description matching 'map_launcher'
. Can someone help?