Open jf-ouellette opened 4 years ago
I hope you already found the answer.
$optionBuilder->setPriority('high'); is how you set priority
@jeremiahsherrill Actually, it's already what I'm doing. OptionsPriorities::high
returns the string high
. Unfortunately, it is not working for some reason...
Hi!
I'm trying to show heads-up notifications on an Android device and it seems to require the notification priority for SDK < 26.
I am setting the priority with the OptionsBuilder, but when I receive the notification in frontend, the _priority attribute is set to undefined.
I'm not sure if the problem is with laravel-fcm or if something happens between the moment my notification is sent to FCM and the moment I log it in my application.
Here's my code:
Am I missing something? Thank you!