2022-02-09 22:47:12 +08:00
|
|
|
# bigbluebutton-mobile
|
2022-02-12 06:30:56 +08:00
|
|
|
|
|
|
|
BigBlueButton mobile application.
|
|
|
|
|
|
|
|
## 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
|
|
|
|
open ios/BigBlueButton.xcodeproj
|
|
|
|
```
|