Hi there,
I've made a notification inside of a service module, initialized it, set it up and then passed the .Notify() command, but the notification is not showing.
I'm given no errors in the log and I used a log command to test that the method is getting past the notify statement which it is.
I'd appreciate if somebody could point me in the right direction here.
Here's my code:
Thanks in advance!
I've made a notification inside of a service module, initialized it, set it up and then passed the .Notify() command, but the notification is not showing.
I'm given no errors in the log and I used a log command to test that the method is getting past the notify statement which it is.
I'd appreciate if somebody could point me in the right direction here.
Here's my code:
B4X:
Sub showNotification()
myNotification.Initialize()
myNotification.OnGoingEvent = True
myNotification.Vibrate = False
myNotification.Light = False
myNotification.SetInfo("Charge Alert", "Charge Alert is active. A notification will alert you when the device is charged to your set level.", "")
myNotification.Notify(1337)
Log("Notification should be showing...")
End Sub
Thanks in advance!