Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Cordova/cordova-plugin-cmh Add iOS support to the Mobile App! May 5, 2019
Ionic/App Update the Mobile App README with iOS instructions May 6, 2019
README.md Update the Mobile App README with iOS instructions May 6, 2019

README.md

CheckMyHTTPS Mobile App installation

Linux (Ubuntu)

Requirements

  1. Install Node.JS (v8.x) and NPM: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - and sudo apt install -y nodejs
  2. Install Ionic and Cordova: sudo npm install -g ionic cordova@8.1.2
  3. Install Git: sudo apt install git

For Android

  1. Install JDK 8 and Gradle and set the $JAVA_HOME variable: sudo apt install openjdk-8-jdk gradle and export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/)
  2. Install the Android SDK (with Android Studio or SDK Tools) and set the $ANDROID_HOME variable: export ANDROID_HOME=~/Android/Sdk and export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools)

For iOS

  1. Install Xcode (and Xcode command line tools : sudo xcode-select --install).
  2. If Xcode is not detected by Ionic, run: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

Build and run the app

The following command lines must be executed inside the Ionic project.

  1. Run npm install in order to install dependencies and create the folder node_modules.

For Android

  1. Add the Android platform to the project: ionic cordova platform add android.
  2. ionic cordova build android allows you to build the app.
  3. ionic cordova run android allows to run the app on a mobile phone.

For iOS

  1. Add the iOS platform to the project: ionic cordova platform add ios.
  2. Prepare the iOS project: ionic cordova prepare ios.
  3. Open the Xcode project: open -a Xcode platforms/ios, and then:
    • Change the application/bundle identifier.
    • Add/select your account to sign the app (free with Provisinning Profile).
    • Build and run the application on your device.
You can’t perform that action at this time.