Skip to content

Commit

Permalink
fix(launchnavigator): make appSelection accessible (#3594)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasMerz authored Jan 23, 2021
1 parent 72c9960 commit 26fd76d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/@ionic-native/plugins/launch-navigator/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
/**
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -297,6 +302,8 @@ export class LaunchNavigator extends IonicNativePlugin {
BICYCLING: 'bicycling',
TRANSIT: 'transit',
};

@CordovaProperty()
appSelection: AppSelection;

/**
Expand Down

0 comments on commit 26fd76d

Please sign in to comment.