feat(branch-io): add initSessionWithCallback method (#3660)

This commit is contained in:
MaximBelov 2021-05-11 09:02:23 +03:00 committed by GitHub
parent 380a7f77d7
commit 443515582b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>}