Notification not showing

BrutalSnyper

Member
Licensed User
Longtime User
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:

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!
 

barx

Well-Known Member
Licensed User
Longtime User
You cannot issue a notification without assigning an icon...
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
No Worries ;)
 
Upvote 0
Top