Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mconf/bbb-mobile-template


https://github.com/mconf/bbb-mobile-template

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

        

# bbb-mobile-template

## Code dependencies

### Versions

$ node -v
v16.x.y

###
$ npm install expo-cli -g

#### for android:
$ java --version
openjdk 11

You have to set the Android variables for you environment:
- `export ANDROID_HOME=$HOME/Android/Sdk`
- `export PATH=$PATH:$ANDROID_HOME/tools`

## How to run
$ expo init my-app --template @mconf/bbb-mobile-template
$ yarn install
$ expo run:android
$ expo run:ios # you should be on a mac to run this command

## Using the sdk in your app
import BbbMobileSdk from "bbb-mobile-sdk";

Pass the joinUrl of your meeting in the jUrl prop, and what to do when the user leave the meeting to the onLeaveSession callback:

navigation.replace("Home")}
/>

See https://github.com/mconf/bbb-mobile-template/blob/master/src/screens/InsideConference/index.js for an example.