Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle Mobile Push Notifications: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
This is the specification of Moodle Mobile Push Notifications
==Goal==
==Goal==
Moodle Mobile should support push notifications from Apple, Android...
Moodle Mobile should receive Moodle messages as push notifications on iOS and Android.


== How it works ==
== How it works ==
=== Generic way ===
=== The generic way ===
# User runs the mobile app
# User runs the mobile app.
# User accepts to receive push notification
# User accepts to receive push notification.
# App register the device on airnotifier (device ID)
# App registers the device on airnotifier (device ID).
# User logins on a Moodle site
# User logins on a Moodle site.
# App registers the device on the Moodle site by web service (device ID to be able to receive the notification and the device name to be able to disable the device)
# App registers the device on the Moodle site (device ID to be able to receive the notification and the device name to be able to disable the device)
# User enable airnotifier notification,
# User enables airnotifier notification in her/his Moodle profile.
# Moodle send a message through airnotifier provider.
# Moodle sends a message through airnotifier messaging provider.
# Airnotifier dispatch the message to the correct notification system
# Airnotifier dispatches the message to the correct notification system.
# Device receive the message
# The user device receives the push notification.
# The app is opened (on a specific page?)
# The app opens on a specific page.


=== Apple specificities ===
=== Apple specificities ===
Line 21: Line 19:


==Deliverables==
==Deliverables==
* push notification support on the mobile app (receive the push notification and behave correctly)
* push notification support on the mobile app - the app receives the push notification and behaves correctly.
* airnotifier (send notification to APNS / GCM)
* The Airnotifier server - it sends notification to APNS / GCM.
* airnotifier provider (send Moodle messages to airnotifier - MDL-36445)
* The Airnotifier provider - it sends Moodle messages to Airnotifier - MDL-36445


=== Airnotifier messaging provider ===
=== Airnotifier messaging provider ===
MDL-36445
In your messaging setting page you can select which of your devices can receive push notifications. MDL-36445
The provider has usual messaging provider settings.


=== Airnotifier server ===
=== Airnotifier server ===

Revision as of 07:36, 29 April 2013

Goal

Moodle Mobile should receive Moodle messages as push notifications on iOS and Android.

How it works

The generic way

  1. User runs the mobile app.
  2. User accepts to receive push notification.
  3. App registers the device on airnotifier (device ID).
  4. User logins on a Moodle site.
  5. App registers the device on the Moodle site (device ID to be able to receive the notification and the device name to be able to disable the device)
  6. User enables airnotifier notification in her/his Moodle profile.
  7. Moodle sends a message through airnotifier messaging provider.
  8. Airnotifier dispatches the message to the correct notification system.
  9. The user device receives the push notification.
  10. The app opens on a specific page.

Apple specificities

Google specificities

Deliverables

  • push notification support on the mobile app - the app receives the push notification and behaves correctly.
  • The Airnotifier server - it sends notification to APNS / GCM.
  • The Airnotifier provider - it sends Moodle messages to Airnotifier - MDL-36445

Airnotifier messaging provider

In your messaging setting page you can select which of your devices can receive push notifications. MDL-36445 The provider has usual messaging provider settings.

Airnotifier server

  • feedback - MOBILE-191
  • load stress
  • secuirty (keys, IP banning...) - MOBILE-192
  • iOS support
  • Android support

App push notification support

Register the device on airnotifier

Register the device on Moodle site

How to deal with push notification

closed app
opened app