GoogleChromeLabs / GoogleChromeLabs/bubblewrap

Installing twa blocks notification permission

Open
#541 8 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**
Calling window.notification.permission after installing the twa of a web app returns "denied".

If the twa is uninstalled, it returns "default"

**To Reproduce**
Steps to reproduce the behavior:
1. Call window.notification.permission, it'll return "default"
2. Install the twa
3. Call window.notification.permission, it will return "denied"

**Expected behavior**
It should return "default"

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.