Open bi1101 opened 1 year ago
I'm facing the same issue with iOS devices. On newer Android releases it seems to work fine. Have you ever found a solution? It seems the "sound" : "default" is missing in the push payload, however in api\push.py it seems to be defined on line 138:
apns_default = {"badge": None, "sound": "default", "push_type": "alert"}
The problem is not that simple I'm afraid, there's a heavily custom version that Moodle use, with lots of changes in the code. Unfortunately, this code is not open-sourced. You can try to reverse engineer it from the app code but I had no luck.
Thanks for your quick response.
Here's my set up: Airnotifier 3.x Moodle site 4.0.3 Moodle customized app 4.0.2
When I send push notifications from Moodle to the app, there's no sound or vibration on iOS, on modern Android it works fine, but on older android, it doesn't have sound or vibration
I have access and have already tried it with an official Airnotifier from the Moodle team and everything works fine so I think this is a problem with 3.x version of Airnotifier.