Skip to content
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

Closed
wants to merge 19 commits into from

Conversation

hdz-666
Copy link
Contributor

@hdz-666 hdz-666 commented Oct 4, 2024

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)

Copy link

vercel bot commented Oct 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dashboard-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 9:55am
storybook-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 9:55am

@@ -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 = '';
Copy link
Collaborator

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) {
Copy link
Collaborator

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);
Copy link
Collaborator

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

@amar-1995 amar-1995 changed the base branch from main to dev October 7, 2024 06:16
@hdz-666 hdz-666 closed this Oct 7, 2024
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.

4 participants