Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2 KB

File metadata and controls

45 lines (36 loc) · 2 KB

Hybrid mobile application for Science and Technology Entry Program (STEP)

This is a hybrid mobile application developed in Ionic 3 and Angular 4 with Firebase and AngularFire for Science and Technology Education Program(STEP) which will be used for registration of the students for Robotics competition. The application is integrated with Firebase database to store the data.


AngularFire2 is an official Angular library for Firebase.

To install AngularFire 2
$npm install angularfire2 firebase --save

Application interface for iOS and Android platforms


Installation:

$npm install

Serve the application to browser:

$ionic serve

To view application in mobile simulated platforms

$ionic serve --l
OR
$ionic lab

Adding platforms

To add android platform

$ionic cordova platform add android

To add iOS platform
$ionic cordova platform add ios

Build an android apk

$ionic cordova build android

While building an APK you might yet an error => Module not found: Error: Can't resolve 'promise-polyfill'
Refer this issue => ionic-team/ionic-app-scripts#1001

Solution: In the project directory run the following command,

$npm install promise-polyfill --save-exact

and then run the command

$ionic cordova build android