It’d be magic if it worked on iOS.
I was having the exact same problem. Notifications was being sent, but I only heard the voice message when I grab the phone from the table. Even without unlocking it. As soon as the screen shows something, the phone start talking… with the missed previous notifications.
Oooops… I RE-EDIT MY MESSAGE… I wrote here what I thought was the solution, but after most tests, I think dshokouhi is right. What have made the notifications work is adding, specially the ‘ttl’ line to the service. On december 2023 the sintax that work for me is:
- service: notify.mobile_app_<here-your-mobile>
data:
message: "TTS"
data:
ttl: 0
priority: high
media_stream: alarm_stream
tts_text: "Test text"
As said here in the docs:
" For Android, notifications will appear immediately in most cases. However, in some cases (such as phone being stationary or when screen has been turned off for prolonged period of time), default notifications will not ring the phone until screen is turned on. To override that behavior, set priority: high
and ttl: 0
."