Moodle app notifications: Difference between revisions

From MoodleDocs
(Created page with "{{Mobile}} Starting from versions 1.4 (iOS, iPhone, iPad) and 1.4.3 (Android) Moodle Mobile supports push notifications: 1. Install the [https://moodle.org/plugins/view.php?...")
 
No edit summary
Line 1: Line 1:
{{Mobile}}
{{Mobile}}
== Local notifications ==
== Push notifications ==
Starting from versions 1.4 (iOS, iPhone, iPad) and 1.4.3 (Android) Moodle Mobile supports push notifications:
Starting from versions 1.4 (iOS, iPhone, iPad) and 1.4.3 (Android) Moodle Mobile supports push notifications:


1.  Install the [https://moodle.org/plugins/view.php?plugin=message_airnotifier Mobile notifications plugin] in 2.4*, 2.5* or 2.6 (or simply enable it in 2.7**);
1.  Optional step, if your Moodle installation is 2.6 or bellow you need to Install the [https://moodle.org/plugins/view.php?plugin=message_airnotifier Mobile notifications plugin]. For Moodle 2.7 and onward you need to enable the plugin. *


2.  Connect it to a messaging server, you can use ours in case your Moodle site is registered. Go to ''Site administration > Plugins > Message outputs > Mobile Notifications'' and click in ''Request access key''. If you have problems requesting the access key, please fill this form: http://goo.gl/forms/WLwkbe8b7c (your site registration will be check and we will send you and access key if everything seems to be ok).
2.  Connect it to a messaging server, you can use ours in case your Moodle site is registered. Go to ''Site administration > Plugins > Message outputs > Mobile Notifications'' and click in ''Request access key''. If you have problems requesting the access key, please fill this form: http://goo.gl/forms/WLwkbe8b7c (your site registration will be check and we will send you and access key if everything seems to be ok).
Line 8: Line 14:
3.  Users need to connect at least once with the latest version of the app to register their phones with your site;
3.  Users need to connect at least once with the latest version of the app to register their phones with your site;


4.  Users can configure notifications in the Moodle messaging preferences (''Administration > My profile settings > Messaging'').
4.  Users must configure notifications in the Moodle messaging preferences (''Administration > My profile settings > Messaging'').


<nowiki>*</nowiki> For Moodle versions 2.4 and 2.5 the [[Moodle Mobile additional features]] must be also installed.  
<nowiki>*</nowiki> For Moodle versions 2.4 and 2.5 the [[Moodle Mobile additional features]] must be also installed.  
<br /><nowiki>**</nowiki> Only for Moodle different from 2.7 and onwards: If you upgrade your Moodle installation, you will have to reinstall the plugin since it adds a couple of functions to the core Moodle Mobile service. See https://tracker.moodle.org/browse/MDLSITE-2815?focusedCommentId=273741&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-273741 for more information.
<br /><nowiki>**</nowiki> Only for Moodle different from 2.7 and onwards: If you upgrade your Moodle installation, you will have to reinstall the plugin since it adds a couple of functions to the core Moodle Mobile service. See https://tracker.moodle.org/browse/MDLSITE-2815?focusedCommentId=273741&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-273741 for more information.


== Installing your own Notifications infrastructure ==
=== Installing your own Notifications infrastructure ===


If you have a customized version of the Mobile app, or you want to use your own Notifications infrastructure then you have to install a private [http://airnotifier.github.io AirNotifier] (backend server for notifications).
If you have a customized version of the Mobile app, or you want to use your own Notifications infrastructure then you have to install a private [http://airnotifier.github.io AirNotifier] (backend server for notifications).

Revision as of 14:29, 4 February 2015


Local notifications

Push notifications

Starting from versions 1.4 (iOS, iPhone, iPad) and 1.4.3 (Android) Moodle Mobile supports push notifications:

1. Optional step, if your Moodle installation is 2.6 or bellow you need to Install the Mobile notifications plugin. For Moodle 2.7 and onward you need to enable the plugin. *

2. Connect it to a messaging server, you can use ours in case your Moodle site is registered. Go to Site administration > Plugins > Message outputs > Mobile Notifications and click in Request access key. If you have problems requesting the access key, please fill this form: http://goo.gl/forms/WLwkbe8b7c (your site registration will be check and we will send you and access key if everything seems to be ok).

3. Users need to connect at least once with the latest version of the app to register their phones with your site;

4. Users must configure notifications in the Moodle messaging preferences (Administration > My profile settings > Messaging).

* For Moodle versions 2.4 and 2.5 the Moodle Mobile additional features must be also installed.
** Only for Moodle different from 2.7 and onwards: If you upgrade your Moodle installation, you will have to reinstall the plugin since it adds a couple of functions to the core Moodle Mobile service. See https://tracker.moodle.org/browse/MDLSITE-2815?focusedCommentId=273741&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-273741 for more information.

Installing your own Notifications infrastructure

If you have a customized version of the Mobile app, or you want to use your own Notifications infrastructure then you have to install a private AirNotifier (backend server for notifications).

We use a slightly modified version of Airnotifier: https://github.com/jleyva/airnotifier/tree/moodle2.

You have to add your app certificates there, see https://github.com/airnotifier/airnotifier/wiki/Installation.

The message AirNotifier plugin allow you to point to your custom AirNotifier instance using your own access keys.

Remember to install using GIT (repository https://github.com/jleyva/airnotifier.git branch moodle2).