Mobile notifications

Messaging outputs ::: message_airnotifier
Maintained by Juan Leyva
Message output plugin that enables mobile push notifications in the official Moodle Mobile app. See for more information This plugin will be integrated in Moodle core starting version 2.7.
Latest release:
8 sites
16 fans
Current versions available: 3

Message output plugin that enables mobile push notifications in the official Moodle Mobile app.  See for more information

This plugin will be integrated in Moodle core starting version 2.7.


This plugin is part of set Moodle Mobile app.


Juan Leyva (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Apr 9, 2014, 10:58 PM
    Many thanks for this plugin. Unfortunately, we're receiving the following error (delivered via e-mail) when attempting to send a message between users:

    Insert into log table failed at Wednesday 09th of April 2014 03:40:31 PM.
    It is possible that your disk is full.

    The failed query parameters are:

    array (
    'time' => 1397054431,
    'userid' => '3',
    'course' => '1',
    'ip' => '',
    'module' => 'webservice',
    'cmid' => 0,
    'action' => 'message_airnotifier_are_notification_preferences_configured',
    'url' => '',
    'info' => '',

    The disk in question is nowhere near full. I've checked and everything appears to be configured correctly in terms of Moodle's web services/mobile devices settings, access key, the user's notification methods - and the device and iOS version are both being successfully identified on the user's messaging preference page:

    Any assistance would be much appreciated!
  • Mon, May 12, 2014, 9:49 PM
    You are getting this error because the action field is limited to 40 chars, and the text "message_airnotifier_are_notification_preferences_configured' is about 60

    It shouldn't make the plugin fail, that error only happens when the app checks that your preferences are correctly configured
  • Yop
    Tue, Jan 27, 2015, 1:41 AM
    I just installed this plugin, but now my moodle don't run. How can solve it? Is moodle 2.6. Can i deactivate the plugin? Thanks.
  • Thu, Mar 19, 2015, 2:26 AM
    Alguien me podría explicar que debo realizar para conseguir el Airnotifier access key, ya que al intentar solicitar la "Clave de acceso" me salta el siguiente error (An error occurred while retrieving key. Your Moodle site must be registered with to use this service. You may need to re-register to update your details there.)

    Pero el sitio en el cual estoy intentando activar el sistema de notificación Push ya se encuentra registrado dentro de la Página de
  • Thu, Mar 19, 2015, 2:34 AM
    La versión de la Moodle en la cual realice la instalación del plugin de Notificaciones es la Moodle 2.6.3 (Build: 20140512)
  • Tue, Mar 24, 2015, 4:12 AM
    Hola Jose, puedes usar este formulario para solicitar una clave de Airnotifier:
  • Fri, Mar 27, 2015, 3:20 AM
    Muchas gracias Juan, ya recibí la clave para el plugin, pero ahora no he podido hacer funcionar las notificaciones desde la aplicación móvil de moodle.
    Presiono sobre la opción "Notificaciones" que aparece en la página principal de la aplicación y luego me lleva en una nueva indicándome que las (Notificaciones están deshabilitadas).

    Cómo puedo solucionar este inconveniente?

    Desde ya muchas gracias...!
  • Wed, Apr 22, 2015, 1:17 AM
    I must be totally missing something, but I don't see any information about where to install the airnotifier folder. Does it go in the /local/mobile directory?
  • Wed, Apr 22, 2015, 9:16 PM
    It goes in the /message/output/ directory
  • Thu, Apr 23, 2015, 4:19 AM
    Thank you!
  • Sat, Jan 30, 2016, 3:17 PM
    Hi, I'm on the italian version of Moodle 2.6; I've done all you say in the instructions; I think that the right directory for me is "instradamento messaggi"; all the installations went fine, but, at the the end, no push notifications for my messages (I had it yet, without your plugint, for calendar events). All settings for notification in my Android 5.1.1 and on my iPad iOs 7.1.2 are ok and I've setted up all notifications settings in the Administration menù in Moodle. In the app settings/general/ there are no notifications settings.
    Can you help me?
  • Sat, Jan 30, 2016, 3:32 PM
    I'm sorry I had not setted the mobile notifications on Messages in Administrations.
  • Thu, Apr 6, 2017, 10:41 AM
    Hi Juan, beautiful plugin. I have installed my own Airnotifier. Is it possible to modify the payload either in the plugin on in Airnotifier to enable coldstart: true in Android?
Please login to post comments