fix(web-intent): rename onNewIntent to onIntent

The `onNewIntent` function doesn't exist in `darryncampbell-cordova-plugin-intent`, it's actually called `onIntent`.
This commit is contained in:
Rodrigo Fernández 2018-01-09 20:12:49 +01:00 committed by GitHub
parent 9ebd92ecb9
commit dbcb103adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 { }
/**
*
*/