Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

cern-phone-apps/mobile-phone-app

Repository files navigation

Dial Mobile (CERN Phone Mobile App)

View all screenshots

CERN Phone application to make and receive calls.

Build Status codecov Dependency Status

Current limitations

OS Status
Android Tested and working on Android 9
iOS Not yet compatible

Requirements

To install the following components, please follow the React Native guide for your platform

Development

Read the docs

Environment setup

  1. 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.

Updating libs

⚠️ 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.

Debugging

On a physical device

  • Shake the phone to display the development menu.

On the emulator

  • Command + M will display the development menu.

Change the debugger port

  1. Open the development menu
  2. On "Dev Settings" change the "Debug server host & port for device" to something like: localhost:8081

Run the app

On Android

yarn
yarn run android

Troubleshoot your environment

Running the following command will return a diagnosis of your environment:

npx @react-native-community/cli doctor

Testing

yarn test

Packaging and Deployment

The following command will generate the apk for Android.

cd android
./gradlew assembleRelease

About

CERN Phone Mobile client. Multiplatform phone application compatible with Android and iOS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published