App updated automatically at start up #447
-
I notice that after a CapacitorUpdator.download(), app is updated if I restart it even if I don't call CapacitorUpdator.set(). Is this a bug or the desired behavior? |
Beta Was this translation helpful? Give feedback.
Answered by
khamaileon
Sep 6, 2024
Replies: 1 comment
-
After some digging, I found that the problem was caused by service workers which, when the hostname of the capacitor server is the same as that of the website, display the web version after a restart. My solution was to disable service workers when on mobile. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
khamaileon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After some digging, I found that the problem was caused by service workers which, when the hostname of the capacitor server is the same as that of the website, display the web version after a restart. My solution was to disable service workers when on mobile.