CERN Phone application to make and receive calls.
OS | Status |
---|---|
Android | Tested and working on Android 9 |
iOS | Not yet compatible |
To install the following components, please follow the React Native guide for your platform
- Android >= 8.1
- Node >= 11.10.1
- React Native Debugger
- yarn (>1.16.0)
- React Native >= 0.61
- Follow the steps of the official React Native documentation to setup your development environment. Since we are using native modules, we need to follow the
React Native CLI Quickstart
guide.
⚠️ Beware of the libs used which contain native code. Some of them are highly dependent on the React Native version and might not be compatible with newer ones.
- React Native Callkeep
- React Native Webrtc
- React Native Firebase
- React Native Vector Icons
- React Navigation (and it's dependencies)
- React Native Sound
- Shake the phone to display the development menu.
- Command + M will display the development menu.
- Open the development menu
- On "Dev Settings" change the "Debug server
host & port for device" to something like:
localhost:8081
yarn
yarn run android
Running the following command will return a diagnosis of your environment:
npx @react-native-community/cli doctor
yarn test
The following command will generate the apk
for Android.
cd android
./gradlew assembleRelease