nuxt / nuxt/nuxt

IOS safari app:manifest:update hook not working

Open
#34,052 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

pending triage
Dominant language
TypeScript
Stars
60.9k
Forks
5.8k
Avg merge
7h 8m
Merged PRs (30d)
162

Description

Environment

Hi
I did multiple tests and found out iOS Safari will never trigger the app:manifest:update with checkOutdatedBuildInterval and default settings.
It does work on Android Chrome and chrome on desktop. I did not test Safari on mac enough to see if the issue also occurs there, but i think it does.

I followed https://www.youtube.com/watch?v=D9gWQ1x6Qg8&t=175s from Alexander Lichter
Only when I set this for example i nuxt config it will trigger the popup after i update the app again.

// experimental:{checkOutdatedBuildInterval:1000*10

I am not sure if this is a Nuxt bug or a Safari bug.

Reproduction

will do this later. Right now test it using safari on ios. And i think macos safari also has the issue.

Describe the bug

Will not trigger the nuxtApp.hooks.hookOnce("app:manifest:update" on ios safari.

Additional context

No response

Logs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior on iOS Safari with the default settings and with experimental.checkOutdatedBuildInterval configured in Nuxt. Check whether nuxtApp.hooks.hookOnce("app:manifest:update") fires, compare the behavior with Android Chrome or desktop Chrome, and document whether the cause is in Nuxt or Safari.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.