diff --git a/src/@ionic-native/plugins/web-intent/index.ts b/src/@ionic-native/plugins/web-intent/index.ts index a41f063b6..471ab67f0 100644 --- a/src/@ionic-native/plugins/web-intent/index.ts +++ b/src/@ionic-native/plugins/web-intent/index.ts @@ -147,12 +147,13 @@ export class WebIntent extends IonicNativePlugin { getUri(): Promise<string> { return; }; /** + * Returns the content of the intent used whenever the application activity is launched * @returns {Observable<string>} */ @Cordova({ observable: true }) - onNewIntent(): Observable<string> { return; }; + onIntent(): Observable<string> { return; }; /** * Sends a custom intent passing optional extras @@ -175,12 +176,6 @@ export class WebIntent extends IonicNativePlugin { @Cordova({ sync: true }) unregisterBroadcastReceiver(): void { } - /** - * Returns the content of the intent used whenever the application activity is launched - */ - @Cordova({ sync: true }) - onIntent(): void { } - /** * */