From 26fd76dad06764c288e2902c0edbe0dbb5e668c7 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Sat, 23 Jan 2021 18:12:30 +0100 Subject: [PATCH] fix(launchnavigator): make appSelection accessible (#3594) --- src/@ionic-native/plugins/launch-navigator/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/launch-navigator/index.ts b/src/@ionic-native/plugins/launch-navigator/index.ts index 2a381be23b..f4cb78d673 100644 --- a/src/@ionic-native/plugins/launch-navigator/index.ts +++ b/src/@ionic-native/plugins/launch-navigator/index.ts @@ -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; /**