GoogleChromeLabs / GoogleChromeLabs/bubblewrap

Notification icon blurred out in TWA notification with FCM and website url present in it

Open
#696 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.1k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I am using FCM to send push notifications to my TWA app built with bubblewrap for android. But when I receive the notification, the icon is just a brown circle as seen in image below. Also observe the website url community.vadoo.tv shown in the notification which should not be displayed.

![WhatsApp Image 2022-05-13 at 5 25 32 PM](https://user-images.githubusercontent.com/4326215/168278576-f8baa656-7ae3-4609-af8d-743fcbbaab63.jpeg)

**To Reproduce**
Steps to reproduce the behavior:
1. Install TWA
2. Send notification via FCM
3. Notification is observed as brown circle along with url of website being displayed in notification

**Expected behavior**
The app notification icon should be displayed instead of brown circle and website url should not be displayed

**Screenshots**
Added screenshot above

**Smartphone (please complete the following information):**
- Device: POCO M3
- OS: Android 10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.