feat(send-result): add sendResult method for WebIntent plugin (#2495)
This commit is contained in:
parent
d6a9ed134e
commit
34aeb19628
@ -216,4 +216,14 @@ export class WebIntent extends IonicNativePlugin {
|
||||
getIntent(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Send a result back to the Intent that started this Activity.
|
||||
* The data can be passed using 'extras'.
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
sendResult({ extras: {}}): Promise<any> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user