2022-02-16 10:45:44 +08:00
|
|
|
import * as React from 'react';
|
2022-02-16 07:55:10 +08:00
|
|
|
|
2022-02-16 10:45:44 +08:00
|
|
|
import {StyleSheet, View, Platform} from 'react-native';
|
|
|
|
import {BigbluebuttonMobile} from 'bigbluebutton-mobile-sdk';
|
2022-02-16 07:55:10 +08:00
|
|
|
|
2022-02-16 10:45:44 +08:00
|
|
|
export default function App() {
|
2022-02-16 07:55:10 +08:00
|
|
|
return (
|
2022-02-16 10:45:44 +08:00
|
|
|
<View style={styles.container}>
|
|
|
|
<BigbluebuttonMobile
|
2022-02-16 11:21:45 +08:00
|
|
|
broadcastAppBundleId="org.bigbluebutton.mobile.BigBlueButton-Broadcast"
|
2022-02-16 11:06:08 +08:00
|
|
|
url="https://bigbluebutton.org"
|
2022-02-16 10:45:44 +08:00
|
|
|
style={styles.bbb}
|
|
|
|
/>
|
2022-02-16 07:55:10 +08:00
|
|
|
</View>
|
|
|
|
);
|
2022-02-16 10:45:44 +08:00
|
|
|
}
|
2022-02-16 07:55:10 +08:00
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
2022-02-16 10:45:44 +08:00
|
|
|
container: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'row',
|
2022-02-16 07:55:10 +08:00
|
|
|
},
|
2022-02-16 10:45:44 +08:00
|
|
|
bbb: {
|
2022-02-16 11:06:08 +08:00
|
|
|
marginTop: Platform.select({ios: 20, android: 0}),
|
2022-02-16 10:45:44 +08:00
|
|
|
flex: 1,
|
2022-02-16 07:55:10 +08:00
|
|
|
},
|
|
|
|
});
|