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

[Bug]: Service Worker Not Working on iOS Devices with Capacitor 7 #7858

Open
1 of 3 tasks
TanerSaydam opened this issue Feb 2, 2025 · 0 comments
Open
1 of 3 tasks
Labels

Comments

@TanerSaydam
Copy link

Capacitor Version

Hello,

I am using Angular with Capacitor 7 to build a mobile application. My application works perfectly on most devices. However, I have encountered an issue with Service Workers:

On Android devices, Service Workers function as expected.
On iOS devices (e.g., iPhone), Service Workers do not work at all.
This issue only occurs for a specific page where I have Service Worker functionality enabled. The rest of the application behaves normally.

Is this a known issue with Capacitor 7 on iOS? Are there any workarounds or solutions for this problem?

Thank you in advance for your help!

Best regards,
Taner

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

I am using Angular with Capacitor 7 to build a mobile application. My application works perfectly on most devices. However, I have encountered an issue with Service Workers:

On Android devices, Service Workers function as expected.
On iOS devices (e.g., iPhone), Service Workers do not work at all.
This issue only occurs for a specific page where I have Service Worker functionality enabled. The rest of the application behaves normally.

Expected Behavior

On iOS devices (e.g., iPhone), Service Workers must work like Andorid devices

Project Reproduction

I can't give my personel repo

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant