BlueJeans is being sunset. Please refer to more details

Native Support


The Embed SDK is a JavaScript-based library and the meetings embedded via the Embed SDK run using the WebRTC protocol and require an environment that supports WebRTC to run. Therefore, if you want to use Embed SDK within a native application on mobile devices, you should use WebView for Android and WkWebView for iOS.

A WebView essentially is an embedded browser that can be used to display web content in a native application.

Native support is designed to provide a standard set of WebView features provided by iOS and Android applications while being easy to implement.  To integrate the BlueJeans Embed SDK into your Native applications, see the integration for Embedding within an Android application and Embedding within the iOS application sections.

Components

Embed SDK Native app integration has two main components:

  • Native code: "Native" means code written natively for the mobile platform. For example, Swift or Kotlin. This component includes the following:
    • Code to initialize the WebView
    • (Optional) Code for initializing and communicating with the Embed SDK from a native app. Depending on your use case, this logic could be in a web page fully loaded into the WebView.
  • HTML/JavaScript webpage: This component references a web page that is loaded into your application's WebView. This component includes the following:
    • HTML page as a starting point.
    • JavaScript code to import, initialize and use the Embed SDK.
    •  (Optional) JavaScript to listen for Native layer commands and translate them to the Embed SDK.

The sample apps on our GitHub repository and the code snippets provided in the subsequent sections demonstrate how to use Embed SDK in a WebView and how to use Embed SDK's methods and observables directly in your Native code.