Making our app installable - Android
Google is one of the biggest proponents of PWA's, so it makes sense that their Chrome browser and Android operating system are the most friendly to web app manifests.
Let's go through the process of creating a manifest in a way that makes it work with the latest version of Chrome. Later in this chapter, we'll go through the same process in a more manual way in order to support iOS.
Manifest properties
Let’s get to it! In your public/
folder, create a file called manifest.json
, and then add an empty object. Each of the following will be a key-value pair of that object. We'll take a quick tour through each of the available properties:
name
: Your application's name. Simple!:
"name": "Chatastrophe",
short_name
: A human readable version of your application's name. This is for times when the full name won't fit, like on your user's home screen. If your app's name is "Why PWAs Are Great For Everyone", you can shorten it to "PWAs R Great" or something here:
“short_name...