import { LaunchNavigator, LaunchNavigatorOptions } from '@awesome-cordova-plugins/launch-navigator/ngx';
constructor(private launchNavigator: LaunchNavigator) { }
...
let options: LaunchNavigatorOptions = {
start: 'London, ON',
app: LaunchNavigator.APPS.UBER
}
this.launchNavigator.navigate('Toronto, ON', options)
.then(
success => console.log('Launched navigator'),
error => console.log('Error launching navigator', error)
);