From a6660c227f96cad206db25c2d46c930d128eecb8 Mon Sep 17 00:00:00 2001 From: Tiago Jacobs Date: Thu, 16 Jun 2022 10:54:11 -0300 Subject: [PATCH] Add deeplink callback - thanks @gustavoEM --- ios/NativeOnly/BigBlueButtonSDK.swift | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ios/NativeOnly/BigBlueButtonSDK.swift b/ios/NativeOnly/BigBlueButtonSDK.swift index d58f5e2..3fa5b42 100644 --- a/ios/NativeOnly/BigBlueButtonSDK.swift +++ b/ios/NativeOnly/BigBlueButtonSDK.swift @@ -120,5 +120,9 @@ open class BigBlueButtonSDK: NSObject { .getUserDefaults(appGroupName: self.appGroupName) .set(BBBSharedData.generatePayload(), forKey: BBBSharedData.SharedData.onApplicationTerminated) } + + public static func handleDeepLink(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]){ + RCTLinkingManager.application(app, open: url, options: options) + } } diff --git a/package.json b/package.json index e1df3bc..3970814 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bigbluebutton-mobile-sdk", - "version": "0.1.21", + "version": "0.1.22", "description": "This repository contains BigBlueButton react-native component, that's used in our [sample implementation](https://github.com/bigbluebutton/bigbluebutton-mobile).", "main": "lib/commonjs/index", "module": "lib/module/index",