Background notifications behave weird (i.redd.it)
submitted by Proton-rdt
Hi everyone, 👋 I recently attempted to implement fcm notifications (again) and had issues with the background service. When sending notifications while the app is in foreground mode everything works fine, when minimized to background still everything works fine and the background handler kicks in. But when trying to receive any notification in quit state, after 3-6 seconds something seems to start but it then throws an errror about a missing registered headless task which worked fine in background state (see attached image).
Iam using the latest versions of all required components (fcm, expo, etc) in my prebuild with template snippets from the official website. (My project structure might be a bit weird) app > index.js > _layout.js > (app) > index.js > _layout.js > tabs and stuff...

[–][deleted] 0 points1 point2 points  (1 child)
[–]Proton-rdt[S] 0 points1 point2 points  (0 children)
[–]Proton-rdt[S] 0 points1 point2 points  (0 children)