Skip to content

Bug: Nuxt 3 PWA app showInstallPrompt always false #208

@Tr-anh99

Description

@Tr-anh99

Bug Description:
I use example from playground folder, but in my mini repo https://github.com/Tr-anh99/nuxt-pwa, https://stackblitz.com/~/github.com/Tr-anh99/nuxt-pwa showInstallPrompt always returns false.
I still can install pwa from addressbar on chrome but pwa?.install() dont work well.
How can i fix this?
Environment:

  • Browser: Chrome 138.0.7204.169
  • OS: Windows 10
  • Framework: Nuxt 4.0.1
  • @vite-pwa/nuxt: 1.0.4

Expected Behavior:
showInstallPrompt should return true when install criteria are met

Additional Context:

  • DevTools Application tab screenshots:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions