
It gives you control over which URLs will be handled by your app, and which should be opened in the browser. The scope property tells Android to only open your web app if the URL matches the origin + scope. If you don't want your Progressive Web App to handle all URLs within your site, you can add the scope property to your web app manifest. Chrome assumes the user intended to visit the site and will open this site. Note: Navigating directly to from the address bar in Chrome will work exactly the same as it does for native apps that have an intent filter. If the user clicks on a link within an installed app to, it would be caught by the intent and opened in the Progressive Web App. The WebAPK would include the following intent filters: When a web app using it is launched from the app launcher, it would open as a standalone app, without any browser chrome. When a user clicks on a link that is within the scope of the app, the app will be opened, rather than opening within a browser tab.Ĭonsider the following partial manifest.json: "start_url": "/", When a Progressive Web App is installed on Android, it will register a set of intent filters for all URLs within the scope of the app. Frequently changing the manifest will increase the overall install time. Don't use the manifest to store user specific identifiers, or other other data that might be customized. Note: Since the WebAPK is regenerated each time an updated manifest is detected, we recommend changing it only when necessary. When an update to the manifest is detected, Chrome will need to generate a new APK. To generate the WebAPK, Chrome looks at the web app manifest and other metadata. Being installed via an APK makes it possible for your app to show up in the app launcher, in Android's app settings and to register a set of intent filters. Chrome automatically generates and installs a special APK of your app. Installing a PWA on Android does more than just add the Progressive Web App to the user's Home Screen.
