Can i call the bottom notification without StartForeground? Will it cause any issue with late android version? It seems to be working ok with Android 7. Android 8+ requires channels. Is the importance_low considered as channels?
B4X:
Dim n As Notification = CreateNotification(WhatMessage)
n.Notify(1)
Sub CreateNotification (Body As String) As Notification
Dim notification As Notification
notification.Initialize2(notification.IMPORTANCE_LOW)
notification.Sound = False
notification.Vibrate = False
notification.Icon = "icon"
notification.SetInfo("Status", Body, Starter.WhatFormName) 'can't use main. unless last known activity then it will be ok
Return notification
End Sub