1.6.8 • Published 3 years ago
@mconf/bbb-mobile-template v1.6.8
bbb-mobile-template
Code dependencies
Versions
$ node -v
v16.x.y$ npm install expo-cli -gfor android:
$ java --version
openjdk 11You have to set the Android variables for you environment:
export ANDROID_HOME=$HOME/Android/Sdkexport PATH=$PATH:$ANDROID_HOME/tools
How to run
$ expo init my-app --template @mconf/bbb-mobile-template
$ expo run:android
$ expo run:iosUsing 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:
<BbbMobileSdk
jUrl={joinUrl}
onLeaveSession={() => navigation.replace("Home")}
/>See https://github.com/mconf/bbb-mobile-template/blob/master/src/screens/InsideConference/index.js for an example.