Home

Awesome

A Cross Platform, Real-time Location Tracking app made with NativeScript-Vue under 350 lines of code

Prerequisites

  1. Setup your machine to compile apps as directed in this Nativescript-Vue Installation Manual

  2. Obtain a key from Google Cloud Console having access to the following APIs:

Google Cloud Console will ask you to create a project before you can gain access to the APIs. Once you have created a project and a key is issued for an API, subsequent enabled APIs will be accessible using the same key which was issued for the first one. That means, the 4 APIs listed above can have one single key if falling under the same project, which exactly is the case with this app.

  1. Setting up the API key

    Now that we have got our precious key with all required APIs enabled, we can proceed by feeding this key to both Android and iOS.

Usage

# Install dependencies
npm install

# Build for production
tns build <platform> --bundle

# Build, watch for changes and debug the application
tns debug <platform> --bundle

# Build, watch for changes and run the application
tns run <platform> --bundle