Launch Navigator


Requires Cordova plugin: For more info, please see the LaunchNavigator plugin docs.

Ionic Launch Navigator插件的安装(Installation)

ionic cordova plugin add npm install @ionic-native/launch-navigator

Ionic Launch Navigator插件支持的平台(Supported Platforms)

  • Android
  • iOS
  • Windows
  • Windows Phone 8

Ionic Launch Navigator插件的用法(Usage)

Please refer to the plugin's repo for detailed usage. This docs page only explains the Native wrapper.

import { LaunchNavigator, LaunchNavigatorOptions } from '@ionic-native/launch-navigator';

constructor(private launchNavigator: LaunchNavigator) { }


let options: LaunchNavigatorOptions = {
  start: 'London, ON',
  app: LaunchNavigator.APPS.UBER

this.launchNavigator.navigate('Toronto, ON', options)
    success => console.log('Launched navigator'),
    error => console.log('Error launching navigator', error)