I have a custom app and my own airnotifier server (built from the 1.x branch, not the moodle branch).
I can send and receive push notifications when I post directly to https://MY_AIRNOTIFIER_SERVER/api/v2/push .
I can also successfully register my device in Moodle using
However, although I turned on mobile notifications for the user on all events while online and offline, none of the events trigger a push notification and I can see in the airnotifier logs the 2 servers are not communicating at all.
Here's the info that I'm sending to core_user_add_user_device
appid:[THE SHORTNAME UNIQUE IDENTIFIER FOR MY APP IN AIRNOTIFIER]
pushid:[THE IOS DEVICE TOKEN OBTAINED AT RUNTIME BY THE APP]
uuid:[THE IOS DEVICE TOKEN OBTAINED AT RUNTIME BY THE APP]
Any help will be greatly appreciated!