Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

General

Basics

Very simple Webview App that allows us to send push Notifications to users

→ Notifications based on firebase by google

→ Frontend needs javascript ↔ java interface, that submits DeviceID to backend, so that Push notifications can be send to one specific device. See Binding of javascript to app functions

Changes needed

Backend

  • needs exta field in user-table for DeviceID (question: multiple ones?)
  • Connect to google Firebase Server for sending Notifications

Frontend

check if user is in App (done by "angular.idDefined(Android)") - if so, call Android.getDeviceID() and send it to Backend.

  • User service needs setDeviceID() and deleteDeviceID() fields
  • Call User.setDeviceID() on login, and User.deleteDeviceID() on logout if "Android" variable is defined
  • No labels