question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Chat] / Chrome fails to "Ask" for notification privileges

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


Platform - version: v1.0.1-488 web on Chrome

Action Performed (reproducible steps):

  • Navigate to https://expensify.cash/#/signin on web on Chrome browser
  • Click into the padlock in the URL bar and set notifications to default (see image below)
  • Reload page
  • Sign in
  • Sign out via /settings
  • Observe that activeClients2 has no value in localStorage whatsoever (see image below)
  • Sign in again
  • Observe that activeClients2 still has no value
  • Leave a comment on a report that is not currently in view from another session as a shared user (this should trigger the prompt to appear)
  • Observe that no prompt appears because the notification is skipped and this log displays:
  • [LOCAL_NOTIFICATION] Skipping notification because this client is not the leader

Expected Result: The Ask for notifications prompt should display reliably.

Actual Result: No prompt appears because the notification is skipped because Skipping notification because this client is not the leader

Notes/Photos/Videos: image

image

In addition to posting a proposal here, please make sure to submit via this Upwork job too https://www.upwork.com/jobs/~01b3cfaf1cd42f3481

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
laurenreidexpensifycommented, Mar 11, 2021

nice work @SameeraMadushan - we’ll issue payment on 18 March if there are no regressions reported 👍🏽

1reaction
laurenreidexpensifycommented, Mar 10, 2021

Done!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow notifications from Meet and Chat - Google Meet Help
To receive notifications from Meet and Chat, your browser settings must allow notifications. Allow Meet and Chat notifications in Chrome.
Read more >
Not Getting Notifications on Google Chrome? Here Are 10 ...
Not Getting Notifications on Google Chrome? Here Are 10 Fixes to Try · 1. Check Your Internet Connection · 2. Keep the Tab...
Read more >
Not Receiving Pop-Up Notifications on Google Chat? How to Fix
) icon in the top right corner. Select Settings. Click Privacy and security on your left. Click Site Settings. Click Notifications.
Read more >
Chrome extension - Notification.requestPermission() does not ...
The problem is when I invoke Notification.requestPermission() it does not ask for permission and notifications are not displayed. Observations:.
Read more >
Quieter notifications permissions - YouTube
Notifications on the web help users receive important updates for a wide range of applications including messaging, calendars, email clients ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found