fix(web-intent): rename onNewIntent to onIntent

fix(web-intent): rename `onNewIntent` to `onIntent`
This commit is contained in:
Daniel Sogl 2018-03-20 20:53:39 +01:00 committed by GitHub
commit 0e68bd91f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,12 +154,13 @@ export class WebIntent extends IonicNativePlugin {
} }
/** /**
* Returns the content of the intent used whenever the application activity is launched
* @returns {Observable<string>} * @returns {Observable<string>}
*/ */
@Cordova({ @Cordova({
observable: true observable: true
}) })
onNewIntent(): Observable<string> { onIntent(): Observable<string> {
return; return;
} }
@ -202,18 +203,6 @@ export class WebIntent extends IonicNativePlugin {
@Cordova({ sync: true }) @Cordova({ sync: true })
unregisterBroadcastReceiver(): void {} unregisterBroadcastReceiver(): void {}
/**
* Returns the content of the intent used whenever the application activity is launched
*/
@Cordova({ sync: true })
onIntent(): void {}
/**
*
*/
@Cordova({ sync: true })
onActivityResult(): void {}
/** /**
* @returns {Promise<any>} * @returns {Promise<any>}
*/ */