Adds ReactEventEmitter and full handling of broadcastStarted event

This commit is contained in:
Tiago Jacobs
2022-03-11 19:55:12 -03:00
parent 3c17cd7aed
commit a4ce10b000
52 changed files with 1737 additions and 1579 deletions

View File

@@ -1,12 +1,15 @@
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { BigbluebuttonMobileSdkView } from 'bigbluebutton-mobile-sdk';
import { BigbluebuttonMobile } from 'bigbluebutton-mobile-sdk';
export default function App() {
return (
<View style={styles.container}>
<BigbluebuttonMobileSdkViewManager color="#32a852" style={styles.box} />
<BigbluebuttonMobile
url="https://mobile.bbb.imdt.dev"
style={styles.bbb}
/>
</View>
);
}
@@ -14,12 +17,10 @@ export default function App() {
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
},
box: {
width: 60,
height: 60,
marginVertical: 20,
bbb: {
marginTop: 48,
flex: 1,
},
});