Make the Android timer notification high priority (#123006)

pull/122953/head
Paulus Schoutsen 2024-08-01 11:51:45 +02:00 committed by GitHub
parent 6bf59a8dfc
commit bc91bd3293
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@ def async_handle_timer_event(
# Android
"channel": "Timers",
"importance": "high",
"ttl": 0,
"priority": "high",
# iOS
"push": {
"interruption-level": "time-sensitive",

View File

@ -61,6 +61,8 @@ async def test_timer_events(
"channel": "Timers",
"group": "timers",
"importance": "high",
"ttl": 0,
"priority": "high",
"push": {
"interruption-level": "time-sensitive",
},