I'm playing around with notifications on a Fire TV. I have a timer which calls the following sub to periodically produce a notification. I can leave my app and enter other apps and the notifications continue to be displayed. However, if I play a video, e.g. with the YouTube app, then the notifications stop being displayed. Stopping the video and returning to the YouTube video browser, the notifications start being displayed again. Identical behaviour happens in other video playing apps. It would appear that the notifications don't have sufficient priority to display over a playing video. I'm using the HIGH priority notification (as you can see in the below code) and the Amazon documentation seems to suggest that is all that is required to display the heads-up notifications.
Other third-party (not just Amazon) apps are able to display notifications over YouTube videos, e.g. "Notifications for Fire TV". Any idea where I'm going wrong?
B4X:
Sub Simple_Notification
Dim n As NB6
n.Initialize("default", Application.LabelName, "HIGH").SmallIcon(smiley)
n.Build("Title", "#" & cnt, "tag1", Main).Notify(4)
cnt=cnt+1
End Sub