Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 2.41 KB

README.md

File metadata and controls

63 lines (42 loc) · 2.41 KB

Warning

This application will be discontinued with the upcoming release of Indico 3.3 (Q1 2024) and replaced with a new Checkin-in app. We recommend everyone to use the new application starting with Indico 3.3.

Indico check in mobile application

This application was initially developed during the CERN OpenLab Summer Student Programme. An early description of the project (for historical purposes) can be found here.

Build

We leverage Apache Cordova's multi-platform capabilities to create a simple yet useful web application. First of all, you'll have to install Cordova (note: npm v7 or greater required):

$ npm install -g cordova

For Android development

You'll need to have the Android SDK Tools installed. Android Studio may also be of help if you intend to use an emulator instead of a physical phone.

Please note that the ANDROID_HOME environment variable needs to be properly set, otherwise Cordova won't be able to find the SDK.

$ cordova platform add android

Note: You need to have Android build tools 29.0.2 installed and not have installed any version greater than 29.0.2. Due to a bug in cordova-android < 10.0, which this project uses, it's not possible to specify the build tools version with --gradleArg=-PcdvBuildToolsVersion=29.0.2. Because of this, it will always try to use the latest installed and fail with Build-tool is missing DX if they are greater than 29.0.2.

If you intend to use the emulator you may need to create an AVD if you don't yet have one. If you want to use a physical device, just make sure you connect it via USB.

Regardless of what you choose, you'll only need to run:

$ cordova run android

iOS Development

You will need to have XCode installed. You will also need to install ios-deploy:

$ npm install -g ios-deploy

Similarly to what happens with Android, you may choose to use an emulator or actual phone.

$ cordova run ios

You may be required to associate the XCode project with a development team.