Skip to content

Handle OneSignal init rejection on non-yap.town origins - #216

Open
anchpop wants to merge 1 commit into
mainfrom
claude/quirky-mayer-gbvhbz
Open

anchpop wants to merge 1 commit into
mainfrom
claude/quirky-mayer-gbvhbz

Conversation

@anchpop

@anchpop anchpop commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

Sentry JAVASCRIPT-REACT-3T (88 events): OneSignal.init rejects with "Can only be used on: https://yap.town" when the app is served from yap-beta.pages.dev, and the unhandled rejection was reported as an error. Catch it and log at info level instead; push simply isn't available on that origin.

Reviewed the other open production issues: network fetch failures, a stale-chunk CSS preload, and iOS watchdog terminations aren't unambiguously fixable in code, and the 409 events upload (JAVASCRIPT-REACT-3D) is only seen on an older release and already has ignore-duplicates in place.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VYw9qpnaZLxub22pfjAZ4U


Generated by Claude Code

Fixes JAVASCRIPT-REACT-3T

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VYw9qpnaZLxub22pfjAZ4U

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants