Push notification not working

Push notification not working

av Muhammad Nurasyraf -
Galle vástádusa: 8
Hi all moodle friendly community.


This question might seem normal, but i have a problem with push notification on mobile.

The problem is when i post a activity, there is no push notification shown on phone (Android : Samsung J7 Prime)

I already follow https://docs.moodle.org/36/en/Moodle_app_notifications still not working.

Message notification is show, but activity notification not showing.  I also attach some picture for prove.

Thanks.

Mielddus mobile output.png
Mielddus photo_2019-04-16_15-58-44.jpg
Gjennomsnittlig vurdering: -
Vástádussan geasa: Muhammad Nurasyraf

Re: Push notification not working

av Muhammad Nurasyraf -
additional picture.
Mielddus setting.png
Vástádussan geasa: Muhammad Nurasyraf

Re: Push notification not working

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Plugin developers Bilde av Testers

Hi,

is this happening for any type of notification, have you tried with private messages between users?

Some times if Push notifications are not reaching is because there is a firewall preventing your server to contact to messages.moodle.net

Regards, Juan

Vástádussan geasa: Juan Leyva

Re: Push notification not working

av Muhammad Nurasyraf -

Hi again, I already try for private messages between users. it working good. But for other activities it not working.


Can I know how to test for contacting the server at messages.moodle.net?


Thanks.

Vástádussan geasa: Muhammad Nurasyraf

Re: Push notification not working

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Plugin developers Bilde av Testers

HI,

if it works for private messages, it should work for the rest of activities.

could you try with the forum following this guide?

https://docs.moodle.org/36/en/Moodle_app_notifications#Testing_push_notifications

Are you sure that the cron task is running properly in your system?

Vástádussan geasa: Juan Leyva

Re: Push notification not working

av Muhammad Nurasyraf -
Hi,


I remove all my old crontab, then apply a new crontab provided at https://docs.moodle.org/36/en/Cron

Now it working great. Thanks.

Vástádussan geasa: Muhammad Nurasyraf

Re: Push notification not working

av Ahmad Saleh -
Hi Muhammad,
I am happy it worked with you. But since I have the same problem, could you help me get my push notifications. I have private messageing and message notifications working properly. Put activity notifications are not.
I have however this notifications in my administration panel, could this be the reason of my notifications problem:
The cli/cron.php maintenance script has not been run for at least 24 hours.
Thanks,
Ahmad
Vástádussan geasa: Juan Leyva

Re: Push notification not working

av Muhammad Nurasyraf -
It seems the mobile notification work for this 


https://docs.moodle.org/36/en/Moodle_app_notifications#Testing_push_notifications


It also works when the Teacher gives grading and replying in the forum.


But, when a teacher adds new activity such as Assignment or Quiz, mobile notification is not working. 

Vástádussan geasa: Juan Leyva

Re: Push notification not working

av Ahmad Saleh -

Hello,

I am not receiving alerts for forum posts although I can receive private message notifications both on the app and website.

Thank you for helping me,

Ahmad