`showMarker` and `showDirections` Futures don't complete on success on iOS
Closed this issue · 2 comments
vincent-hoodoo commented
Hello and thank you for the great and useful plugin.
I noticed that the Futures returned by MapLauncher.showMarker
and MapLauncher.showDirections
never complete on success on iOS (they do on Android).
It's probably just a matter of adding a call to result
on https://github.com/mattermoran/map_launcher/blob/master/ios/Classes/SwiftMapLauncherPlugin.swift#L194 and on https://github.com/mattermoran/map_launcher/blob/master/ios/Classes/SwiftMapLauncherPlugin.swift#L230.
It's problematic in our case, since we wait for these Futures to complete to perform other logic.
mattermoran commented
Hey @vincent-hoodoo
You're right, it should've definitely called the result
.
Will fix up today :)
mattermoran commented
It's now fixed in v3 :)