Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web][docs] Update progressive-web-apps.md #10311

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 21 additions & 21 deletions docs/pages/guides/progressive-web-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ When you run `expo build:web` the Webpack config reads your `app.config.js` (or

The following properties can be used to customize your PWA:

| `app.config.js` | `manifest.json` | `index.html` |
| ---------------------------------- | ----------------------------- | ------------------------------------------------------- |
| `web.backgroundColor` | `background_color` | |
| `web.description | description` | `description` | `<meta name="description" />` |
| `web.dir` | `dir` | |
| `web.display` | `display` | |
| `web.lang` | `lang` | `<html lang="">` |
| `web.name | name` | `name` | `<title />` |
| `web.orientation | orientation` | `orientation` | |
| `web.scope` | `scope` | |
| `web.shortName | web.name` | `short_name` | `<meta name="apple-mobile-web-app-title"/>` |
| `web.startUrl` | `start_url` | |
| `web.themeColor | primaryColor` | `theme_color` | `<meta name="theme-color" />` |
| `web.crossorigin` | `crossorigin` | |
| `web.relatedApplications` | `related_applications` | |
| `web.preferRelatedApplications` | `prefer_related_applications` | |
| `android.icon | icon` | `icons` | |
| `ios.icon | icon` | | `<link rel="apple-touch-icon" >` |
| `web.favicon | icon` | | `<link rel="shortcut icon" >` |
| `web.barStyle` | | `<meta name="apple-mobile-web-app-status-bar-style" />` |
| `web.splash | ios.splash | splash` | | `<link rel="apple-touch-startup-image" >` |
| `app.config.js` | `manifest.json` | `index.html` |
| ----------------------------------- | ----------------------------- | ------------------------------------------------------- |
| `web.backgroundColor` | `background_color` | |
| `web.description \| description` | `description` | `<meta name="description" />` |
| `web.dir` | `dir` | |
| `web.display` | `display` | |
| `web.lang` | `lang` | `<html lang="">` |
| `web.name \| name` | `name` | `<title />` |
| `web.orientation \| orientation` | `orientation` | |
| `web.scope` | `scope` | |
| `web.shortName \| web.name` | `short_name` | `<meta name="apple-mobile-web-app-title"/>` |
| `web.startUrl` | `start_url` | |
| `web.themeColor \| primaryColor` | `theme_color` | `<meta name="theme-color" />` |
| `web.crossorigin` | `crossorigin` | |
| `web.relatedApplications` | `related_applications` | |
| `web.preferRelatedApplications` | `prefer_related_applications` | |
| `android.icon \| icon` | `icons` | |
| `ios.icon \| icon` | | `<link rel="apple-touch-icon" >` |
| `web.favicon \| icon` | | `<link rel="shortcut icon" >` |
| `web.barStyle` | | `<meta name="apple-mobile-web-app-status-bar-style" />` |
| `web.splash \| ios.splash \| splash`| | `<link rel="apple-touch-startup-image" >` |

If you need finer control on how the PWA is generated, you should eject the `web/index.html` and add it there.

Expand Down