App
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
To the extent possible under law, the yunity wiki contributors have waived all copyright and related or neighboring rights to the content of the yunity wiki. More information...
You have an account but can't edit or create pages? Write us in the open chatroom or in our yunity Slack!