Android Question Invalid notification (no valid small icon)

Flavio SOuza

Member
Licensed User
Longtime User
Hello devs, I'm trying to send a notification to the mobile, however on MOTO G6 the same presents this error icon!

My Code:
===============================
Dim n As Notification
n.Initialize

n.SetInfo2("ABC","123","news",Me)
'n.Insistent = True
n.Notify(1)

===============================

ERROR!
java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=channel_3 pri=0 contentView=null vibrate=default sound=default defaults=0xffffffff flags=0x0 color=0x00000000 vis=PRIVATE)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…