mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
feat(branch-io): add initSessionWithCallback method (#3660)
This commit is contained in:
parent
380a7f77d7
commit
443515582b
@ -1,5 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
export interface BranchIoPromise {
|
||||
$identity_id?: number;
|
||||
@ -105,6 +106,15 @@ export class BranchIo extends IonicNativePlugin {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes Branch with callback
|
||||
* @return {Observable<any>}
|
||||
*/
|
||||
@Cordova({ observable: true })
|
||||
initSessionWithCallback(): Observable<BranchIoPromise> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Request Metadata
|
||||
* @return {Promise<any>}
|
||||
|
Loading…
Reference in New Issue
Block a user