bigbluebutton-tablet/README.md

87 lines
1.6 KiB
Markdown
Raw Normal View History

2022-02-16 11:24:47 +08:00
# BigBlueButton-mobile
2022-02-12 06:30:56 +08:00
BigBlueButton mobile application.
2022-02-13 19:52:19 +08:00
**Important:** This is an work in progress and is not ready to be used by the community. Please stay tunned.
2022-02-12 06:30:56 +08:00
## Development
### Linux
To build this application in linux, you need to run:
```sh
# Instal Android SDK
sudo apt install android-sdk
# In one terminal, start metro:
npx react-native start
# In other terminal, run the app:
npx react-native run-android
```
### MAC
#### Simulator
2022-02-12 06:30:56 +08:00
To build this application in mac, you need to run:
```sh
# Install cocoapods gem
sudo gem install cocoapods
# Install dependencies
2022-04-20 11:01:04 +08:00
yarn
2022-02-12 06:30:56 +08:00
2022-04-20 11:01:04 +08:00
# Install pods
cd ios && pod install && cd -
2022-02-12 06:30:56 +08:00
2022-04-20 11:01:04 +08:00
# Option 1 - Run simulator and metro in one command
yarn ios
# Option 2 - Two commands approach:
## In one terminal, start metro:
## npx react-native start
## In other terminal, run the app:
## npx react-native run-ios --simulator="iPhone 13"
2022-02-12 06:30:56 +08:00
```
#### Real device
##### Debug mode
To run this application in a real ios device, you need to run:
```sh
#Install package
npm install -g ios-deploy
#Run
npx react-native run-ios --device "iPhone de TDJ"
```
###### Release mode
To run a release version of this application in a real ios device, you need to run:
```sh
npx react-native run-ios --configuration Release --device "iPhone de TDJ"
```
#### Open project in XCODE
To change native code, you can run this command:
```sh
2022-02-13 21:18:39 +08:00
open ios/BigBlueButton.xcworkspace
```
2022-02-13 21:18:39 +08:00
## References
### IOS
- [Screen broadcast - replay kit 2](https://developer.apple.com/videos/play/wwdc2018/601/)
2022-02-16 11:24:47 +08:00
- [Logs](https://developer.apple.com/videos/play/wwdc2020/10168/)