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
+2 -13
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>}
*/
@Cordova({
observable: true
})
onNewIntent(): Observable<string> {
onIntent(): Observable<string> {
return;
}
@@ -202,18 +203,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 {}
/**
*
*/
@Cordova({ sync: true })
onActivityResult(): void {}
/**
* @returns {Promise<any>}
*/