NativeScript / NativeScript/firebase

[@nativescript/firebase-messaging] How to catch the push notification message on background without tapping the notification?

Open
#277 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
62
Forks
53
Avg merge
8d 4h
Merged PRs (30d)
2

Description

Hi, I am using push notification to sync some data.

On foreground, it automatically trigger .onMessage()
On background, user need to click the notification then trigger .onMessageTap()

What I want to do is even if user ignore the notification, catch the message and sync some data on background.
Is there any way to address this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First review the plugin's Firebase messaging behavior on iOS and Android, then determine whether background delivery without a notification tap is supported; done would require a documented, reproducible implementation path or a clear platform limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, firebase, ios, typescript
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.