mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +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>}
|
||||
*/
|
||||
@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>}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user