mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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 { Injectable } from '@angular/core';
|
||||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||||
|
import { Observable } from 'rxjs';
|
||||||
|
|
||||||
export interface BranchIoPromise {
|
export interface BranchIoPromise {
|
||||||
$identity_id?: number;
|
$identity_id?: number;
|
||||||
@ -105,6 +106,15 @@ export class BranchIo extends IonicNativePlugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initializes Branch with callback
|
||||||
|
* @return {Observable<any>}
|
||||||
|
*/
|
||||||
|
@Cordova({ observable: true })
|
||||||
|
initSessionWithCallback(): Observable<BranchIoPromise> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Request Metadata
|
* Set Request Metadata
|
||||||
* @return {Promise<any>}
|
* @return {Promise<any>}
|
||||||
|
Loading…
Reference in New Issue
Block a user