mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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; };
|
||||
|
||||
/**
|
||||
* Returns the content of the intent used whenever the application activity is launched
|
||||
* @returns {Observable<string>}
|
||||
*/
|
||||
@Cordova({
|
||||
observable: true
|
||||
})
|
||||
onNewIntent(): Observable<string> { return; };
|
||||
onIntent(): Observable<string> { return; };
|
||||
|
||||
/**
|
||||
* Sends a custom intent passing optional extras
|
||||
@ -175,12 +176,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 { }
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user