NB6 notification not work with android 10 ,with no error return
normal notification work
B4X:
Private icon,icon2 As Bitmap
icon = LoadBitmap(File.DirAssets,"logo24.png") '24
icon2 = LoadBitmap(File.DirAssets,"log256.png") '256
Dim n As NB6
n.Initialize("default", Application.LabelName, "HIGH")
n.SmallIcon( icon)
icon2 = LoadBitmap(File.DirAssets,"log256.png")
n.LargeIcon(icon2)
n.BigPictureStyle(icon2.Resize(256dip, 256dip, True),icon2,Message.GetData.Get("title"),Message.GetData.Get("content"))
n.Build(Message.GetData.Get("title"),Message.GetData.Get("content"), "tag", Me).Notify(9)
normal notification work
B4X:
Dim n As Notification
n.Initialize
n.Icon = "icon"
n.Sound=True
n.Vibrate=True
n.SetInfo(Message.GetData.Get("title"), Message.GetData.Get("content"), Main)
n.Notify(1)