Hello,
I have a problem with notifications:
Dim NewNotification As Notification
NewNotification.Initialize2(NewNotification.IMPORTANCE_HIGH)
NewNotification.Light= Led
NewNotification.Sound= Sound
NewNotification.Vibrate= Vibrate
NewNotification.Icon= Icon
NewNotification.SetInfo(NameVersion, Message, "Main")
NewNotification.Notify(NotificationID)
Service.StartForeground(NotificationID, NewNotification)
when Led is set to true, the led on the Phone is not working.
I've tested with this:
- Samsung S4
- Samsung S7
when i test it with Nexus running Copperhead then the Led is working but is seems to be the only way to switch off the led is canceling the notification when you select the notification.
The Led used to work using NotificationBuilder, versionsafe notification, but I attempt to use the standard provided libraries.
Is something wrong with the new notification object or am I doing something wrong?
I have a problem with notifications:
Dim NewNotification As Notification
NewNotification.Initialize2(NewNotification.IMPORTANCE_HIGH)
NewNotification.Light= Led
NewNotification.Sound= Sound
NewNotification.Vibrate= Vibrate
NewNotification.Icon= Icon
NewNotification.SetInfo(NameVersion, Message, "Main")
NewNotification.Notify(NotificationID)
Service.StartForeground(NotificationID, NewNotification)
when Led is set to true, the led on the Phone is not working.
I've tested with this:
- Samsung S4
- Samsung S7
when i test it with Nexus running Copperhead then the Led is working but is seems to be the only way to switch off the led is canceling the notification when you select the notification.
The Led used to work using NotificationBuilder, versionsafe notification, but I attempt to use the standard provided libraries.
Is something wrong with the new notification object or am I doing something wrong?