2017-09-12 01:12:11 +00:00
|
|
|
# Jitsi Meet apps for Android and iOS
|
2017-01-31 13:46:31 +00:00
|
|
|
|
2019-04-16 19:06:08 +00:00
|
|
|
Jitsi Meet can be built as a standalone app for Android or iOS. It uses the
|
2017-09-12 01:12:11 +00:00
|
|
|
[React Native] framework.
|
2017-01-31 13:46:31 +00:00
|
|
|
|
2019-04-16 19:06:08 +00:00
|
|
|
**If you want to rebuild the SDK yourself look in [Android README] or [iOS README].**
|
|
|
|
|
2017-02-21 16:37:56 +00:00
|
|
|
First make sure the [React Native dependencies] are installed.
|
2017-01-31 13:46:31 +00:00
|
|
|
|
2017-09-12 01:12:11 +00:00
|
|
|
**NOTE**: This document assumes the app is being built on a macOS system.
|
2019-04-16 19:06:08 +00:00
|
|
|
**NOTE**: Node 10.X and npm 6.X are recommended for building.
|
2017-06-19 20:57:35 +00:00
|
|
|
|
2017-01-31 13:46:31 +00:00
|
|
|
|
|
|
|
## iOS
|
|
|
|
|
|
|
|
1. Install some extra dependencies
|
|
|
|
|
|
|
|
- Install ios-deploy globally (in case you want to use the React Native CLI
|
|
|
|
to deploy the app to the device)
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm install -g ios-deploy
|
|
|
|
```
|
|
|
|
|
2017-09-05 09:00:40 +00:00
|
|
|
- Install main dependencies:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
2017-06-09 07:55:40 +00:00
|
|
|
- Install the required pods (CocoaPods must be installled first, it can
|
|
|
|
be done with Homebrew: `brew install cocoapods`)
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd ios
|
|
|
|
pod install
|
|
|
|
cd ..
|
|
|
|
```
|
|
|
|
|
2017-01-31 13:46:31 +00:00
|
|
|
2. Build the app
|
|
|
|
|
|
|
|
There are 2 ways to build the app: using the CLI or using Xcode.
|
|
|
|
|
|
|
|
Using the CLI:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
react-native run-ios --device
|
|
|
|
```
|
|
|
|
|
|
|
|
When the app is launched from the CLI the output can be checked with the
|
|
|
|
following command:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
react-native log-ios
|
|
|
|
```
|
|
|
|
|
|
|
|
Using Xcode
|
|
|
|
|
2017-05-08 14:43:55 +00:00
|
|
|
- Open **ios/jitsi-meet.xcworkspace** in Xcode. Make sure it's the workspace
|
|
|
|
file!
|
2017-01-31 13:46:31 +00:00
|
|
|
|
|
|
|
- Select your device from the top bar and hit the "play" button.
|
|
|
|
|
|
|
|
When the app is launched from Xcode the Debug console will show the output
|
|
|
|
logs the application creates.
|
|
|
|
|
|
|
|
|
|
|
|
3. Other remarks
|
|
|
|
|
2019-04-16 19:06:08 +00:00
|
|
|
It's likely you'll need to change the bundle ID for deploying to a device.
|
2017-01-31 13:46:31 +00:00
|
|
|
This can be changed in the "General" tab. Under "Identity" set
|
|
|
|
"Bundle Identifier" to a different value, and adjust the "Team" in the
|
|
|
|
"Signing" section to match your own.
|
|
|
|
|
|
|
|
|
|
|
|
## Android
|
|
|
|
|
2017-02-21 16:37:56 +00:00
|
|
|
The [React Native dependencies] page has very detailed information on how to
|
|
|
|
setup [Android Studio] and the required components for getting the necessary
|
2017-01-31 13:46:31 +00:00
|
|
|
build environment. Make sure you follow it closely.
|
|
|
|
|
|
|
|
1. Building the app
|
|
|
|
|
|
|
|
The app can be built using the CLI utility as follows:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
react-native run-android
|
|
|
|
```
|
|
|
|
|
|
|
|
It will be launched on the connected Android device.
|
|
|
|
|
|
|
|
## Debugging
|
|
|
|
|
2017-09-12 01:12:11 +00:00
|
|
|
The official documentation on [debugging] is quite extensive and specifies the
|
2017-01-31 13:46:31 +00:00
|
|
|
preferred method for debugging.
|
|
|
|
|
2017-09-12 01:12:11 +00:00
|
|
|
**NOTE**: When using Chrome Developer Tools for debugging the JavaScript source
|
|
|
|
code is being interpreted by Chrome's V8 engine, instead of JSCore which React
|
|
|
|
Native uses. It's important to keep this in mind due to potential differences in
|
|
|
|
supported JavaScript features.
|
2017-01-31 13:46:31 +00:00
|
|
|
|
2019-04-16 19:06:08 +00:00
|
|
|
[Android README]: https://github.com/jitsi/jitsi-meet/blob/master/android/README.md
|
|
|
|
[iOS README]: https://github.com/jitsi/jitsi-meet/blob/master/ios/README.md
|
2017-01-31 13:46:31 +00:00
|
|
|
[Android Studio]: https://developer.android.com/studio/index.html
|
|
|
|
[debugging]: https://facebook.github.io/react-native/docs/debugging.html
|
|
|
|
[React Native]: https://facebook.github.io/react-native/
|
|
|
|
[React Native dependencies]: https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies
|