mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +08:00
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:
parent
9ebd92ecb9
commit
dbcb103adc
@ -147,12 +147,13 @@ export class WebIntent extends IonicNativePlugin {
|
|||||||
getUri(): Promise<string> { return; };
|
getUri(): Promise<string> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 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> { return; };
|
onIntent(): Observable<string> { return; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends a custom intent passing optional extras
|
* Sends a custom intent passing optional extras
|
||||||
@ -175,12 +176,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 { }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user