The promise returned from LaunchNavigator.navigate never resolved when using MapKit on iOS. This made it impossible/unreliable to test for errors. This PR fixes that issue by implementing a completion handler, much in the same way the schema launch operations are handled.
PR Type
What kind of change does this PR introduce?
[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation changes
[ ] Other... Please describe:
PR Checklist
For bug fixes / features, please check if your PR fulfills the following requirements:
[X] Testing has been carried out for the changes have been added
[X] Regression testing has been carried out for existing functionality
[X] Docs have been added / updated (not relevant)
What is the purpose of this PR?
Does this PR introduce a breaking change?
[ ] Yes
[X] No
What testing has been done on the changes in the PR?
It has been verified that the promise returned from LaunchNavigator.navigate not successfully resolves using provider id LaunchNavigator.APP.APPLE_MAPS and launchMode LaunchNavigator.LAUNCH_MODE.MAPKIT.
The promise returned from
LaunchNavigator.navigate
never resolved when using MapKit on iOS. This made it impossible/unreliable to test for errors. This PR fixes that issue by implementing a completion handler, much in the same way the schema launch operations are handled.PR Type
What kind of change does this PR introduce?
PR Checklist
For bug fixes / features, please check if your PR fulfills the following requirements:
What is the purpose of this PR?
Does this PR introduce a breaking change?
What testing has been done on the changes in the PR?
It has been verified that the promise returned from
LaunchNavigator.navigate
not successfully resolves using provider idLaunchNavigator.APP.APPLE_MAPS
and launchModeLaunchNavigator.LAUNCH_MODE.MAPKIT
.