[w3c/manifest] Feature Request: Support version field in Web App Manifest to align with app store requirements (Issue #1157)

Thank you for all your work on this specification. For the first time, I feel that web apps are ever closer to native app experiences. ❤️ 

![image](https://github.com/user-attachments/assets/c0d6d5e8-468e-4b5c-abd7-82ce50d3d853)


Currently, when installing PWAs on Windows, they always display as version "1.0" under Apps > Installed apps, with no way to override this through the manifest. In the above example, the version in my package.json is 0.2.8, not 1.0.

Could we add a version field to the manifest specification? This would not only give developers control over their app versioning but also align with app store requirements. Tools like PWABuilder already require version information when packaging apps for various app stores, so having this in the manifest would provide a single source of truth for versioning across platforms.

When not using manifest.json directly, but a build tool to generate the manifest like vite, it'd also be very easy to use the version of our package.json.

```typescript
// vite.config.ts
import clientVersion from './package.json';

export default defineConfig({
  plugins: [
    VitePWA({
      manifest: {
       version: clientVersion,
     }
    })
  ]
})
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/1157
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/issues/1157@github.com>

Received on Monday, 6 January 2025 10:40:41 UTC