Push Notifications at custom moodle mobile

Re: Push Notifications at custom moodle mobile

by Juan Leyva -
Number of replies: 3
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 we can't offer support for the Airnotifier server. We provide a service where we can customise the app for anyone who needs it.  This service helps fund the improvement of the app in general.  Our core team do not have the resources here to help people use the open source code version. https://moodle.com/mobileapp/

Regards, Juan

In reply to Juan Leyva

Re: Push Notifications at custom moodle mobile

by Lucio Monter -

Hello Juan,

First of all thanks for all the great jobs you guys are doing and keeping it as Open Source. It's just amazing and give small company like us the possibility to survive in the business jungle.

Then we need a little hint if it's possible.

We manage to customize the mobile app and set up an Air Notifier server for Push Notification,

We are experimenting some broadcasting directly from air notifier and notifications go fine both as plain text and json payload. 

But we don't figured out how the push notification, handled by the app, would recognize where to go inside the app itself.

For example, if we send an instant message, the tap on the notification will lead the user directly to the message part of the app, showing the received message.

We see in the payload content of the notifications there are parameters such as "type" or "urlparams" but we are not able to find where in the app those variables are handled...

Thanks in advance for your support

Regards

Lucio Monterubbiano


In reply to Lucio Monter

Re: Push Notifications at custom moodle mobile

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

look for this line of code:

$mmPushNotificationsDelegate.registerHandler(

There is a special handler for treating push notifications and redirecting the user interface

Juan

Average of ratings: Useful (1)