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

From MoodleDocs

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