NativeScript / NativeScript/firebase
Android `showNotificationsWhenInForeground` not working
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 62
- Forks
- 53
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 2
Description
In android when i set showNotificationsWhenInForeground to true the app doesn't show the notification if it is in the foreground
firebase().messaging().showNotificationsWhenInForeground = true;
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android “Always show notifications when the application is in foreground” section of packages/firebase-messaging/README.md and the showNotificationsWhenInForeground setting shown in the report. Trace the Android messaging entry point that handles this option and verify the app displays notifications while foregrounded; add or update coverage if the repository provides a relevant test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, firebase, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100