
PWA 적용 웹 앱 예시 확인하기 ) 트위터
검색가능Web App Manifest JSON 파일이름, 아이콘, 시작 화면 및 테마 색상과 같은 앱의 기능을 정의
{
"name": "HackerWeb", // 아이콘의 이름
"short_name": "HackerWeb", // 검색의 배너에 표시되는 이름 (검색의 키워드)
"start_url": ".",
"display": "standalone",
"background_color": "#fff",
"description": "A readable Hacker News app.",
"icons": [ // 아이콘으로 사용되는 이미지들
{
"src": "images/touch/homescreen48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "images/touch/homescreen72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "images/touch/homescreen96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "images/touch/homescreen144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "images/touch/homescreen168.png",
"sizes": "168x168",
"type": "image/png"
},
{
"src": "images/touch/homescreen192.png",
"sizes": "192x192",
"type": "image/png"
}
],
"related_applications": [
{
"platform": "play",
"url": "[https://play.google.com/store/apps/details?id=cheeaun.hackerweb](https://play.google.com/store/apps/details?id=cheeaun.hackerweb)"
}
]
}
위의 파일을 index.html 파일의 head 태그 안에 link 시킴
<link rel="manifest" href="manifest.json" />
Linkable기기에 설치 가능캐싱푸시 알림HTTPS 프로토콜을 통해 제공참고자료
Introduction to progressive web apps - Progressive web apps (PWAs) | MDN
Progressive Web Apps offer the performance and user experience of native apps while maintaining the accessibility of web apps, including offline support and fast loading. Understanding what is progressive web app is essential for creating modern, engaging digital experiences.
For a detailed guide and practical insights, check out: what is progressive web app.