umts / pvta-multiplatform

Transit realtime app for mobile devices
Other
6 stars 5 forks source link

PVTrAck

The official app of the Pioneer Valley Transit Authority (PVTA)!

Current release available at m.pvta.com, the Play Store, and the App Store.

Build Status Maintainability Issue Count

The app is a hybrid that uses Ionic 2+.

All data is live, and comes from endpoints documented here.

To begin developing, follow these steps:

Prerequisites

Setup

  1. Clone repository, cd into it.
  2. Run npm install

Developing

The app's source code is in the src directory, and consists of Typescript, HTML, and SCSS. Start editing away!

Testing On Devices

The project has been configured to be an Android and iOS project. You have 3 options for testing the native app:

  1. ionic cordova build [ios OR android] generates necessary files (.apk or .app) to run on a device, but does nothing more.

  2. ionic cordova emulate [ios OR android] builds the app, opens an emulator, and starts the app for you.

  3. ionic cordova run [ios OR android] builds the app and installs it on your USB-connected phone (and opens an emulator if no phone is connected). For iPhones, this only works on iOS >= 10, and requires special configuration (see ionic's docs).

Archived

This project was started years ago to learn about mobile development and JavaScript frameworks, and to provide PVTA's passengers with a mobile app to retrieve realtime information. Since then, PVTA's vendor has released two major revisions, overhauling and significantly improving its realtime mobile app, and PVTA’s information has also started appearing in TransitApp.