My Paylod
FCM.presentLocalNotification({
title:'Welcome to Reno',
body: "Enjoy Discount Upto 50 Percent off",
priority: "high",
show_in_foreground: true,
local: true,
channel: "any_id"
});
same issue
+1
Looks like its not working if your targetSDKVersion is set to higher than 25
have you registered channels correctly?
@evollu how to register it?
I got the same issue and fix it by manually call createNotificationChannel() method because declaring channel before using notification becomes mandatory from Oreo
What I did
await FCM.createNotificationChannel({
id: "default",
name: "default",
priority: "normal",
});
And now it works
I got caught out by this too - can we add @amallo's note to the README?
added a comment to the example project
Most helpful comment
I got the same issue and fix it by manually call
createNotificationChannel()method because declaring channel before using notification becomes mandatory from OreoWhat I did
And now it works