From 39c2ed01fbdaebadf4409d75262f2c84b4347a0c Mon Sep 17 00:00:00 2001 From: Tiago Jacobs Date: Tue, 15 Feb 2022 23:45:44 -0300 Subject: [PATCH] Add BigbluebuttonMobile component example in main view --- App.tsx | 122 +++----------------- android/.gradle.properties.swp | Bin 0 -> 12288 bytes ios/BigBlueButton.xcodeproj/project.pbxproj | 36 ++++++ ios/Podfile | 2 +- ios/Podfile.lock | 12 +- package.json | 4 +- yarn.lock | 27 ++++- 7 files changed, 89 insertions(+), 114 deletions(-) create mode 100644 android/.gradle.properties.swp diff --git a/App.tsx b/App.tsx index e2cc13b..d9c8c51 100644 --- a/App.tsx +++ b/App.tsx @@ -1,115 +1,27 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - * - * Generated with the TypeScript template - * https://github.com/react-native-community/react-native-template-typescript - * - * @format - */ +import * as React from 'react'; -import React from 'react'; -import { - SafeAreaView, - ScrollView, - StatusBar, - StyleSheet, - Text, - useColorScheme, - View, -} from 'react-native'; +import {StyleSheet, View, Platform} from 'react-native'; +import {BigbluebuttonMobile} from 'bigbluebutton-mobile-sdk'; -import { - Colors, - DebugInstructions, - Header, - LearnMoreLinks, - ReloadInstructions, -} from 'react-native/Libraries/NewAppScreen'; - -const Section: React.FC<{ - title: string; -}> = ({children, title}) => { - const isDarkMode = useColorScheme() === 'dark'; +export default function App() { return ( - - - {title} - - - {children} - + + ); -}; - -const App = () => { - const isDarkMode = useColorScheme() === 'dark'; - - const backgroundStyle = { - backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, - }; - - return ( - - - -
- -
- Edit App.tsx to change this - screen and then come back to see your edits. -
-
- -
-
- -
-
- Read the docs to discover what to do next: -
- -
- - - ); -}; +} const styles = StyleSheet.create({ - sectionContainer: { - marginTop: 32, - paddingHorizontal: 24, + container: { + flex: 1, + flexDirection: 'row', }, - sectionTitle: { - fontSize: 24, - fontWeight: '600', - }, - sectionDescription: { - marginTop: 8, - fontSize: 18, - fontWeight: '400', - }, - highlight: { - fontWeight: '700', + bbb: { + marginTop: Platform.select({ios: 48, android: 0}), + flex: 1, }, }); - -export default App; diff --git a/android/.gradle.properties.swp b/android/.gradle.properties.swp new file mode 100644 index 0000000000000000000000000000000000000000..d8fdfe26ec1729dccb85dedff71f5dce2cc38c66 GIT binary patch literal 12288 zcmeI2PjB2r7{;f-2^v7;2torvf|l6cEGM|N?6>$-r`ekvcGFCpl@T=A^Ip@r>L{{7; zTo_SLqIPbQrfI*|?FGbvF)d+2+Fi(dF-vWU^ z;JE}=$VdH+o`1ad?mKk#jr-4?86E@zfj}S-2m}IwKp+qZ1OkD;|Brxeu91g0)(hRy z-sSaP+dIg)u@BfSc z|NnT6kl&#npoh>1dH}6LzrISyFVNS}A@nx%{R$!9K?Zsc`sq3$-$0L`Q)mVH5iuS? z7tkRzfZl|B>=&VM1pf9eCJNw zBWv_bXd_ik)tHV;*`VW;p6uSER#9gJol0BKW5F^@51Ew{K}gr78jG5xrMN4s9800M zt#$%-JI<;KGtn4Z&S<9U30hdGEu`jA!?c~zQl^?|bhR#G?9AIUF%#_oVHO>2m?hNlewizwvQ3C{-byx{_6}uEvTAGytUb?gG zEKTd5x*Bc1oxLr9c8w~X$BXt~rom8@Pa*(;>2$i7fyoJ1nMpFIwWw_Za5{IAi==X; zmFMUnz7Ux`Pn|5ei3?kmYer;STx7~Mh`pF$5c;%`2289k22&_ka;j?NFcrQMx@|63 z($3q&bf9o#E-aI!S*H_eq=nssLexJ0W0?a9U#Fk7UCn@5mQ=f%O8?1RI!^&=qdhIH z6c_O`C@v-y)4AD>M%7incWbkv(P*?aU{^z-s}uR9*uK5dpAUZcxnRw%tD2+w$l0Uu zKvYW4_Ow=-M!RFQS)*_>#gX>y`=|TSCbqgO#tgjZgrOyS3*Ob$Mz4SCuTlE9KdxF* zf*N7l(g8DH)-rP?)1U=ZV^`8K!r7@{m%hBJb`OgsCWggHBQpQq;3X&oy?Zu5MdYqR z63v`;Yk)_bVR7wgXTo49*7|qh9~VNK`g1g(ORZ|}-&O%!_OU~tS!NE&riGgN+FfRC zUi7U6eZr#4F-%xJTONy=?o8aL7H_);+|N?rMlrkX|v^#4CjR&O|j