lab5 report - scvnq/demo1 GitHub Wiki

lab5

Students Information

Tiancheng Xie , ID:25

Chen Sun , ID:23

Goal

1.Create your own firebase account enable authentication using email and password

my

2. PluginUse at least one Cordova plugin related to your project

Plugins:LocalNotification

Adding Plugin(localnotification): ionic cordovaplugin add cordova-plugin-local-notification6.

ionic cordovaplugin add cordova-plugin-local-notification

npm install @ionic-native/local-notifications

Add it successfully

3. Save the results obtained from the step -2 into any of the cloud services like firebase Real Time Database/storage to the user’s respective account such that when he login again it should display the previously stored data.

This is LocalNotification-home.ts

This is LocalNotification-home.html

4.Deploy the application to Web/Android/Ionic

We use ionic&angular completed this app. It can work on the website and we generate it into an apk file.It also can work on android.

WEBSITE:login&register register: login successful: User information is stored in firebase

Android:

This page can be seen when the user successfully logs in with the Android phone

Click notification button, the data will storage in the user's firebase account. when I login again it should display the previously stored data

Additional points: If you use another authentication than email/password

Add login with Google mailbox authentication npm install @ionic-native/GooglePlus The page display: Then in the firebase,we can see the user information with Google mailbox

Conclusion

We installed all the requirements, but there are still many incompatibility problem with OS system. So, some of our features are displayed in the android emulator.With the efforts of my partner and I, we completed the lab.