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
|
|
|
|
|
2022-02-12 14:51:33 +08:00
|
|
|
#### 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
|
|
|
|
npx pod-install
|
|
|
|
|
|
|
|
# In one terminal, start metro:
|
|
|
|
npx react-native start
|
|
|
|
|
|
|
|
# In other terminal, run the app:
|
2022-02-12 14:45:45 +08:00
|
|
|
npx react-native run-ios --simulator="iPhone 13"
|
2022-02-12 06:30:56 +08:00
|
|
|
|
|
|
|
```
|
2022-02-12 12:04:19 +08:00
|
|
|
|
2022-02-12 14:51:33 +08:00
|
|
|
#### Real device
|
|
|
|
|
2022-02-12 15:08:39 +08:00
|
|
|
##### Debug mode
|
|
|
|
|
2022-02-12 14:51:33 +08:00
|
|
|
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"
|
|
|
|
```
|
|
|
|
|
2022-02-12 15:08:39 +08:00
|
|
|
###### 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"
|
|
|
|
```
|
|
|
|
|
2022-02-12 12:04:19 +08:00
|
|
|
#### 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-12 12:04:19 +08:00
|
|
|
```
|
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/)
|