NativeScript + Angular 2 Demo of the Kiva App for ng-conf 2016
TypeScript HTML CSS JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
hooks
platforms/android/src/main/res/values
.editorconfig
.gitignore
README.md
package.json
references.d.ts
tsconfig.json

README.md

Kiva Demo

Built with NativeScript and Angular2

Setup

  • Prerequisites

    • Android SDK (Google API 23) for building / emulating Android
    • XCode (latest version) for building / emulating iOS
    • NodeJS
    • npm
    • git
  • Install the nativescript CLI.
    npm install -g nativescript

  • Check that your system is configured correctly.
    tns doctor

  • Clone the Repository
    git clone git@github.com:rangle/kiva-demo.git cd kiva-demo

  • Add Platforms tns platform add android tns platform add ios
    OR
    tns install

  • Install Dependencies npm install


Development

  • Android: tns livesync android --emulator --watch

  • iOS: tns livesync ios --emulator --watch

Note: you can remove --emulator if you would like the app to run on a connected device.


Testing

Coming Soon


Production

  • tns build <platform>
    Important: When building for iOS, ensure you have a valid provisioning profile and Apple developer credentials.
    For Android the .apk can be found in platforms/android/build/apk.
    For iOS the .ipa is under platforms/ios/build/device.

Resources