Project re-initialization with latest react native (#19)

* Project re-initialization with latest react native (npx create-react-native-library)
This commit is contained in:
Tiago Jacobs
2022-08-16 08:08:40 -03:00
committed by GitHub
parent 00adc46c19
commit e200c0e7e0
105 changed files with 7290 additions and 6684 deletions

View File

@@ -1,7 +1,7 @@
import * as React from 'react';
import { Alert, StyleSheet, Text, View } from 'react-native';
import { BigBlueButtonMobile } from 'bigbluebutton-mobile-sdk';
import { BigBlueButtonTablet } from 'bigbluebutton-tablet-sdk';
import type { INativeEvent } from './types';
export default function App() {
@@ -32,8 +32,8 @@ export default function App() {
return (
<View style={styles.container}>
{loadComponent ? (
<BigBlueButtonMobile
url="https://mobile.bbb.imdt.dev"
<BigBlueButtonTablet
url="https://demo-ios.bigbluebutton.org"
style={styles.bbb}
onError={(content: any) => handleOnError(content)}
onSuccess={() => console.log('URL Valid')}