-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/web 3039 ios notification undefined #3301
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -38,7 +38,7 @@ class ClientAnalyticsTransport implements IAnalyticsTransportProvider { | |||
private failedEvents = new LocalStorage<AnalyticsEvent[]>('client-events'); | |||
isConnected = true; | |||
private env: null | ENV = null; | |||
private websocketURL = ''; | |||
public websocketURL = ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hdz-666 can we make sure we create branches from proper base branches. always create from dev instead of another branches
unsubscribe?.(); | ||
|
||
try { | ||
if (navigator.webdriver) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let us combine the 3 if blocks
if (Notification?.permission === 'granted' || Notification?.permission === 'denied') { | ||
return; | ||
} | ||
console.log('###### Requesting Notification Permission unsubscribe', Notification); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove test log. check with yogesh and 16.5.1 in browserstack
Details(context, link the issue, how was the bug fixed, what does the new feature do)
Implementation note, gotchas, related work and Future TODOs (optional)