mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(launchnavigator): make appSelection accessible (#3594)
This commit is contained in:
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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user