Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 2.02 KB

README.md

File metadata and controls

75 lines (49 loc) · 2.02 KB

self Mobile

This mobile application was made with ionicframework v1

Release:

Zarathustra

Become who you are!

And once you are awake, you shall remain awake eternally.

Build my own APK

To build your own app distribution, follow these steps:

Setup

check ionic v1 getting started

  1. Install Framework

    Install Node.js 6.x LTS

    Install cordova and ionic

    $ npm install -g cordova ionic

    Follow the Android and iOS platform guides to install required tools for iOS and Android development.

  2. Clone Repository

    $ git clone https://github.com/DemocracyEarth/self.git
    $ cd self/mobileapp
  3. Install Dependencies

    $ cordova plugin add https://github.com/phonegap/phonegap-plugin-barcodescanner.git
  4. Build App

    While in mobileapp directory, for android type:

    $ ionic platform add android
    $ ionic build android

    For iOS type:

    $ ionic platform add ios
    $ ionic build ios

    See log information to find your compiled apk, should be something like /platforms/android/build/outputs/apk/android-debug.apk

Known Issues

Problem with Android 6.0.1

if you have installed the latest java version, you will change:

in platforms/android/AndroidManifest.xml current version to <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />

in platforms/android/prodject.properties current version to target=android-22

check phonegap issue 139

Ionic build error

if ionic doesn't work, try with cordova: cordova build android