Skip to content

[$250] [Sentry: APP-2D7] Web Notification illegal constructor crash #93835

Description

@mountiny

Sentry

https://expensify.sentry.io/issues/APP-2D7

Impact (snapshot at filing)

  • Users (total since first seen): 389
  • Events: 1,535
  • Users (last 14d, 9.4.x releases): 53
  • First seen: 2025-12-09
  • Last seen: ongoing
  • Platform: web (notably Samsung Internet on Android)
  • App version(s): 9.4.5–9.4.9
  • Affected route(s): /r/:reportID
  • Mechanism: auto.browser.global_handlers.onunhandledrejection

Stack trace (top frames, first-party only)

src/libs/Notification/LocalNotification/BrowserNotifications.ts:58
new Notification(title, { body, icon, data, ... })

Suspected cause

BrowserNotifications uses new Notification() directly, which is not supported in all browsers (e.g. Samsung Internet); should use ServiceWorkerRegistration.showNotification() instead.

Reproduction

Unknown — see Sentry events linked from the Sentry issue.

Related

  • Prior GH issues: none
Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @lorretheboy

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
SUBISSUE

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions