Skip to content
Discussion options

You must be logged in to vote

The lock-screen alert and the Hive write are two separate outcomes. iOS can present the alert without giving your app enough background execution to persist it. Seeing the notification therefore does not prove that the Dart handler ran.

Token versus topic: changing the target to a topic does not add a background-execution guarantee. Before diagnosing a topic-specific problem, compare the actual HTTP v1 JSON emitted by your panel with the curl request, changing only the target. The panel payload is missing here, so a payload difference cannot yet be ruled out.

App states and reopening: foreground messages use onMessage. Background processing is subject to platform restrictions. In particul…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JiyadAhammad
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants