/Tip-Line

CS 3312 Junior Design - Airline Ambassadors International Tip Line Application

Primary LanguageCSS

Tip-Line

A cross-platform mobile application developed with Adobe Phonegap for Airline Ambassadors International

Release Notes (v1.0.4 // 12-17-2017)

Features: Intial application rollout to the Google play store and the Apple App store. Supports registration key authentication, user registration, geolocation service, hotline calling capabilities, report submission, and user report list. Added respective flag images to country hotline numbers and added additional email field to report submission.

Fixed: Bugs from previous releas: Add Video tag on report submission page doesn't render properly and doesn't show all the time. Adding an image causes a visual bug for the image thumbnail. In the Report List tab, if a report contains multiple media links, all the links direct to the most recent media link instead of their respective media link.

Bugs/Defects: None

Prerequisites

Install Device SDKs

Install the SDKs for iOS and Android to build and run the project for each device.

Install iOS SDKs

Install XCode Once Xcode is installed, several command-line tools need to be enabled for Cordova to run. From the Xcode menu, select Preferences, then the Downloads tab. From the Components panel, press the Install button next to the Command Line Tools listing.

Install Android SDKs

Instructions for Android SDK

Install Cordova

npm install -g cordova

Install Phonegap CLI

npm install -g phonegap

Plugins

Setup

Clone the repo and change into the directory:

git clone https://github.com/Tribe-Tip-Line/Tip-Line.git
cd Tip-Line/

Build the application

To build the application for iOS run:

phonegap build ios

To build the application for android run:

phonegap build android

To build the application for browser run:

phonegap build browser

Test the application

To test the application in Xcode, navigate to /platforms/ios/TipLine.xcodeproj and open it

To test the application in Android Studio, select the Open an existing Android Studio project and select the android platform directory /platforms/android

To test the application in your local browser run:

phonegap serve

and navigate to http://localhost:3000 in your browser

Troubleshooting

If you are having trouble building the application, try removing the platform:

cordova platform remove <platform>

and adding the platform back:

cordova platform add <platform>

If you are having trouble with plugins, try removing the plugin:

cordova plugin remove <plugin>

and adding the plugin back:

cordova plugin add <plugin>

For more information on Cordova visit: https://cordova.apache.org/docs/en/latest/

For more information on PhoneGap visit: http://docs.phonegap.com

For more information on Xcode: https://developer.apple.com/xcode/

For more information on Android Studio: https://developer.android.com/studio/index.html