From cdc446b1349ef55717b12756d3fcb2fbec671a28 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 10 Mar 2021 18:07:35 +0100 Subject: [PATCH] fix(app): Update getLaunchUrl return type as can be undefined (#299) --- app/README.md | 2 +- app/src/definitions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/README.md b/app/README.md index 73f9ae282..b9346cff7 100644 --- a/app/README.md +++ b/app/README.md @@ -139,7 +139,7 @@ Gets the current app state. ### getLaunchUrl() ```typescript -getLaunchUrl() => Promise +getLaunchUrl() => Promise ``` Get the URL the app was launched with, if any. diff --git a/app/src/definitions.ts b/app/src/definitions.ts index c0478a024..9e09bf372 100644 --- a/app/src/definitions.ts +++ b/app/src/definitions.ts @@ -150,7 +150,7 @@ export interface AppPlugin { * * @since 1.0.0 */ - getLaunchUrl(): Promise; + getLaunchUrl(): Promise; /** * Listen for changes in the App's active state (whether the app is in the foreground or background)