Airnotifier request key issue

Airnotifier request key issue

by Nagaraju K Y -
Number of replies: 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.

Average of ratings: -
In reply to Nagaraju K Y

Re: Airnotifier request key issue

by Nagaraju K Y -

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


In reply to Nagaraju K Y

Re: Airnotifier request key issue

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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

Average of ratings: Useful (2)
In reply to Juan Leyva

Re: Airnotifier request key issue

by 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.




In reply to Nagaraju K Y

Re: Airnotifier request key issue

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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

Average of ratings: Useful (1)
In reply to Juan Leyva

Re: Airnotifier request key issue

by 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.

In reply to Nagaraju K Y

Re: Airnotifier request key issue

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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