fix(launchnavigator): make appSelection accessible (#3594)

This commit is contained in:
Niklas Merz
2021-01-23 18:12:30 +01:00
committed by GitHub
parent 72c99603db
commit 26fd76dad0
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface PromptsOptions {
/**
@@ -172,6 +172,11 @@ export interface LaunchNavigatorOptions {
*/
enableGeolocation?: boolean;
/**
* If true, and input location type(s) doesn't match those required by the app, use geocoding to obtain the address/coords as required. Defaults to true.
*/
enableGeocoding?: boolean;
/**
* options related to the default native actionsheet picker which enables user to select which navigation app to launch if `app` is not specified.
*/
@@ -297,6 +302,8 @@ export class LaunchNavigator extends IonicNativePlugin {
BICYCLING: 'bicycling',
TRANSIT: 'transit',
};
@CordovaProperty()
appSelection: AppSelection;
/**