Local Notification Error


#1

I am writing a local notification. If the button is pressed and it will call noti() to set up a local notification.

this is the noti()

  noti():void{

    this.localNotifications.schedule({
      id: 1,
      text: 'Single ILocalNotification',
      sound: null
    });
  
 }

however, the notification only appear on the status bar of Android, it requires the user to slide down in order to see the content of the notification but didn’t show pop up notification at the top just like other apps… What did i do wrong??? Thx


#2

It sounds like, based on this and a couple other SO threads, that it’s largely based on the priority of the notification.

So I’d try adjusting the priority option.