Skip to content

Commit 26fd76d

Browse files
authored
fix(launchnavigator): make appSelection accessible (#3594)
1 parent 72c9960 commit 26fd76d

File tree

1 file changed

+8
-1
lines changed
  • src/@ionic-native/plugins/launch-navigator

1 file changed

+8
-1
lines changed

src/@ionic-native/plugins/launch-navigator/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Injectable } from '@angular/core';
2-
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
2+
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
33

44
export interface PromptsOptions {
55
/**
@@ -172,6 +172,11 @@ export interface LaunchNavigatorOptions {
172172
*/
173173
enableGeolocation?: boolean;
174174

175+
/**
176+
* 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.
177+
*/
178+
enableGeocoding?: boolean;
179+
175180
/**
176181
* options related to the default native actionsheet picker which enables user to select which navigation app to launch if `app` is not specified.
177182
*/
@@ -297,6 +302,8 @@ export class LaunchNavigator extends IonicNativePlugin {
297302
BICYCLING: 'bicycling',
298303
TRANSIT: 'transit',
299304
};
305+
306+
@CordovaProperty()
300307
appSelection: AppSelection;
301308

302309
/**

0 commit comments

Comments
 (0)