Local notification without delay varying delivery time


#1

Good morning, I’m using Local Notification and when I receive a message, the notification is displayed quickly in statusbar, and in others it takes around 2 to 3 seconds.
When receiving the message by FCMPlugin I have a ‘console.log’ that shows the message arriving very fast, but then has this variation of time to display in statusbar, what could it be?

LocalNotifications.schedule({
    id: 1,
    text: data.message,
    sound: Platform.name == 'android' ? 'file://sound.mp3' : 'file://beep.caf',
    at: new Date(),
    every: new Date().toString()
});