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

PWA in iOS is ignoring custom worker #474

Open
GuiPretto opened this issue Apr 20, 2023 · 1 comment
Open

PWA in iOS is ignoring custom worker #474

GuiPretto opened this issue Apr 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@GuiPretto
Copy link

Summary

Basically, I'm installing the PWA and after subscribing myself, I send a notification from my Spring server to me. This behaviour works in Android, and in Mac, but not in iOS. Then I decided to log some text to see if the problem was in the custom worker, and it seems as it is the case. I got the log on every other device, but not on iOS. It even ignored breakpoints I put while debugging.

Versions

  • next-pwa: 5.3.1
  • next: 13.0.3
  • Safari: 16.4.1

How To Reproduce

Steps to reproduce the behavior:

  1. Create a new project with the dependencies above;
  2. Add a custom worker.js file, with a new push event function logging something;
  3. Install the PWA (add to home) on a iPhone with the specified Safari version;
  4. Push any notification using a spring server (or other one);
  5. Don't log anything, or even show the notification;
@ImBIOS
Copy link

ImBIOS commented May 2, 2023

@GuiPretto @mjsisley It seems this repo is dead and the maintainer cannot be contacted for so long now. I've made an immediate response by resurrecting this repo ImBIOS/next-pwa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants