Airnotifier request key issue

Airnotifier request key issue

par Nagaraju K Y,
Nombre de réponses : 6

Dear Sir,

We used following phonegap build version for our mobile app (with Moodle LMS version 3.1.4 and customized with our LMS URL):
https://github.com/moodlehq/moodlemobile-phonegapbuild/tree/learn-moodle

And, we could not able to get Airnotifier request key from default Airnotifier server, even if we register our site under moodle.org sites list.

Also, we are getting error message as following when we enable the debug mode of LMS:
------------------------------------------------------------------------------
Unexpected response from the Airnotifier server: {"error": "Invalid application name"}

line 142 of \message\output\airnotifier\classes\manager.php: call to debugging()

line 67 of \message\output\airnotifier\requestaccesskey.php: call to message_airnotifier_manager->request_accesskey()
------------------------------------------------------------------------------

Looking forward for your kind reply to resolve the issue and make push notifications work for our app.

Thanks,
Nagaraju.

Moyenne des évaluations  -
En réponse à Nagaraju K Y

Re: Airnotifier request key issue

par Nagaraju K Y,

Can you please suggest how to resolve the issue and get default Airnotifier key for our domain?


En réponse à Nagaraju K Y

Re: Airnotifier request key issue

par Juan Leyva,
Avatar Core developers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers

Hi,

if you have a custom app you need to use your own Airnotifier instance. You can't use the Moodle public Airnotifier with custom apps.

Juan

Moyenne des évaluations Useful (2)
En réponse à Juan Leyva

Re: Airnotifier request key issue

par Nagaraju K Y,

Dear Sir,

Thank you for the reply.

We have a PHP ( LAMP ) server with installation of moodle application. Do we need Python in this server for Airnotifier server setup? If yes, any issues with this update on server.

Also, please can we know any other alternatives instead of Airnotifier server.

Looking forward for your reply.

Thanks,

Nagaraju.




En réponse à Nagaraju K Y

Re: Airnotifier request key issue

par Juan Leyva,
Avatar Core developers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers

Hi,

Airnotifier related documentation is here: https://docs.moodle.org/33/en/Mobile_app_notifications#Installing_your_own_notifications_infrastructure (Please, note that we didn't develop and we don't maintain Airnotifier, is a project not related to Moodle).

Right now Moodle only supports Airnotifier for notifications, there aren't alternatives

Juan

Moyenne des évaluations Useful (1)
En réponse à Juan Leyva

Re: Airnotifier request key issue

par Nagaraju K Y,

Dear Sir,

Thank you for the reply.

We need to use only default available Airnotifier instance instead of setting up a new separate Airnotifier application on our server for our customized app ( developed using Moodle Mobile 2) .

Can you please help and provide us the Airnotifier name and Airnotifier key to include in our Moodle LMS ( version: 3.1.4) message output settings?

Already, we have sent our LMS details using Airnotifier manual request form: ( http://goo.gl/forms/Mlm86hggpj )

- Moodle site URL [$CFG->wwwroot]

- Moodle site administrator email

- Site Identifier [$CFG->siteidentifier] configuration value

Looking forward for your reply.


Thanks,

Nagaraju.

En réponse à Nagaraju K Y

Re: Airnotifier request key issue

par Juan Leyva,
Avatar Core developers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers

Hi,

I'm sorry, but you can't use the public notifications server with your custom app. The only way to use it is installing your own server.

Juan