Skip to content

COVSAFE push notifications - A mechanism for sending real-time notifications from the back-end to the edge-side front-end, a prerequisite feature of indicator and mobile-app

License

Notifications You must be signed in to change notification settings

Hitachi-CTI-Call-For-Code-COVID-19-Team/push-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Push Notifications

DEMO

Features

  • Send push notifications with the mobile push notification service, APNs. By this push notifications, it can be exchange the information in real time.

    • Notify event message to the indivisual by sending the push notification from backend service, called Risk Notifier, to the mobile phone app in order to control the indicator device of the shop officer.
    • Broadcast the messages from the backend service.
  • Mobile can receive the push notifications without running the mobile app, as log as it's installed.

  • The mobile app can receive push notifications when running in the background as well as when running in the foreground.

  • Communications between back-end services and APNs, and between APNs and mobile phones are encrypted by TLS.

Requirements

Development Environment

  • IBM Cloud
    • Push Notifications
    • Cloud Functions
    • Cloudant
  • Xcode 11
  • Apple Enterprise Developer Program

Production Environment

  • Mobile Phone
    • iOS only (Android is out of scope)
    • Install the mobile app
    • register the mobile phone device ID to the APNs.

Installations and Configurations

  • STEP1: The step to setup and configure Push Notificatin related services
  • STEP2: The step to create the action of IBM Cloud Functions, whitch can send the push notifications. See the risk-notifier repository for specific instructions.

Usage

Interface

  • The action of IBM Cloud Functions

    Parameter name Description Type Mandatry/Optional
    messageText The body text of the push notifications string mandatry
    apnstitle The title text of the push notifications string optional
    targetDeviceIds The list of device ID of target mobile string optional
    apnsType ['DEFAULT', 'MIXED', 'SILENT'] string optional

Use Case

  • CASE1: Send the push notification message to the indivisual mobile phone by specifying the device ID.
  • CASE2: Send the push notification messages to all registered mobile phone devices.

Licence

About

COVSAFE push notifications - A mechanism for sending real-time notifications from the back-end to the edge-side front-end, a prerequisite feature of indicator and mobile-app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages