From 6ee645a976b6e7d5d2dbfa81d4bf72ed904e17ae Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Sun, 17 Jul 2016 04:53:50 -0400 Subject: [PATCH] refactor(launchnavigator): add successCallback and errorCallback to options interface these are currently needed to use the userSelect function --- src/plugins/launchnavigator.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/launchnavigator.ts b/src/plugins/launchnavigator.ts index 5cec5a09..ae931918 100644 --- a/src/plugins/launchnavigator.ts +++ b/src/plugins/launchnavigator.ts @@ -51,6 +51,10 @@ export interface LaunchNavigatorOptions { * text to display for the cancel button in the native picker which enables user to select which navigation app to launch. Defaults to "Cancel" if not specified. */ appSelectionCancelButton?: string; + + successCallback?: Function; + + errorCallback?: Function; } /** @@ -60,7 +64,7 @@ export interface LaunchNavigatorOptions { * * @usage * Please refer to the plugin's repo for detailed usage. This docs page only explains the Native wrapper. - * + * * ```js * import {LaunchNavigator, LaunchNavigatorOptions} from 'ionic-native'; *