- ã¦ã¼ã¶ã¼ã¨ã¼ã¸ã§ã³ãã¸ããã¤ãã£ãã¢ããªã½ãUXã§webã¢ããªãåãããããã®ã¡ã¿ãã¼ã¿ã渡ã
ã¤ã³ã¹ãã¼ã«ã§ããããããªãã®ï¼
manifestãå«ãwebãã¼ã¸ãç¨æãã¤ã³ã¹ãã¼ã«ãæ©å
ã¢ã¼ãã«ããä¸ã§ãã©ã¦ã¶ãã£ãã·ã¥ãæ¶ããã¤ã³ã¹ãã¼ã«ãããwebã¢ããªãç«ã¡ä¸ããã¨éä¿¡ã¨ã©ã¼ã§ãã¼ã¸ãéããªã.
ããªãã¡ãmanifestã¯web appå®ä½ï¼index.htmlãå§ãã¨ããã³ã¼ãï¼ããã·ã³ã«ã¤ã³ã¹ãã¼ã«ã¯ããªã.
ï¼ãã£ãã·ã¥ãæ®ãã¦ããã¨æ©å
ã¢ã¼ãã§ãåããããã£ãããã©ã¦ã¶ã¯ãªãã¦åªç§ãªãã .ï¼
ãããä½ãã¦ããã®ï¼
ãã©ã¦ã¶ï¼ã¦ã¼ã¶ã¼ã¨ã¼ã¸ã§ã³ã, UAï¼ã«ããã®ã¡ã¿ãã¼ã¿ã«åºã¥ããã¤ãã£ãã¢ããªã£ã½ãèµ·åãã¦ããã¨ãé¡ããã¦ã.
ï¼å ¸åçã«ã¯ï¼ã¦ã¼ã¶ã¼ãweb appã¢ã¤ã³ã³ãã¯ãªãã¯ããUAã¯manifestã«åºã¥ãã¦top-level browsing contextãè¨å®ãstart URLã¸ããã²ã¼ãï¼é常ã®HTTPSã¢ã¯ã»ã¹ï¼ãã.
startURL = parse(start_url, manifestURL) ?? documentURL
start URL , which is URL that the developer would prefer the user agent load when the user launches the web application (e.g., when the user clicks on the icon of the web application from a device's application menu or homescreen).
The start_url member is purely advisory, and a user agent MAY ignore it or provide the end-user the choice not to make use of it. A user agent MAY also allow the end-user to modify the URL when, for instance, a bookmark for the web application is being created or any time thereafter.
ãªãã©ã¤ã³ã§ãåãã¦ããã¤ãããã©ãããªã«ã
Cache API on Service Workerã§ã.
Abstract of Spec
- Definition: web app manifest === JSON with defined format
- Purpose: centralized place to put metadata associated with a web application
- Metadata examples
- application's name
- links to icons
- preferred URL to open when a user launches the web application
- default screen orientation
- display mode
- in fullscreen
- "scope" a web application to a URL
- This restricts the URLs to which the manifest is applied and provides a means to "deep link" into a web application from other applications.
- Usage
- user agents: create user experiences that are more comparable to that of a native application