From 443515582b380fe6643c6db19a5f17999e979d5b Mon Sep 17 00:00:00 2001 From: MaximBelov Date: Tue, 11 May 2021 09:02:23 +0300 Subject: [PATCH] feat(branch-io): add initSessionWithCallback method (#3660) --- src/@ionic-native/plugins/branch-io/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/@ionic-native/plugins/branch-io/index.ts b/src/@ionic-native/plugins/branch-io/index.ts index 202178c43..3d345f3d4 100644 --- a/src/@ionic-native/plugins/branch-io/index.ts +++ b/src/@ionic-native/plugins/branch-io/index.ts @@ -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} + */ + @Cordova({ observable: true }) + initSessionWithCallback(): Observable { + return; + } + /** * Set Request Metadata * @return {Promise}