Available in Chrome 147+ | View on GitHub | Browse Samples
This is the "New App" (e.g. the 'migrating to' app) that is set up to be migrated from the "Old App", located here.
This feature allows a PWA to migrate to a new origin or identity. Said another way, this feature allows a PWA to change it's id
member
(MDN)
to a different value, as long as the origin of the new id is same-site as the current one.
{
"name": "PWA Demo New App",
"short_name": "New App",
"description":
"This is a 'new' app that the developer wants to migrate to, from an old app.",
"id": "https://googlechrome.github.io/pwa-migration/migrate_to/",
"start_url": "index.html",
"display": "standalone",
"scope": "./",
"icons": [
{
"src": "icon.png",
"sizes": "144x144",
"type": "image/png"
}
],
"migrate_from": [
{
"id": "https://googlechrome.github.io/pwa-migration/migrate_from/",
"install_url": "https://googlechrome.github.io/pwa-migration/migrate_from/index.html"
},
{
"id": "https://googlechrome.github.io/pwa-migration/migrate_from_forced/",
"install_url": "https://googlechrome.github.io/pwa-migration/migrate_from_forced/index.html",
"behavior": "force"
}
]
}