mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 09:01:07 +08:00
fix(web-intent): rename onNewIntent
to onIntent
fix(web-intent): rename `onNewIntent` to `onIntent`
This commit is contained in:
commit
0e68bd91f2
@ -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>}
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user