feat: integrated Web Share Target API for PWA

This commit is contained in:
Philipp Hutterer
2023-12-30 04:15:44 +01:00
parent f0247415bf
commit 48657c1c12
11 changed files with 142 additions and 10 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"name": "MeTube",
"short_name": "MeTube",
"theme_color": "#212529",
"background_color": "#fafafa",
"display": "standalone",
"scope": "./",
"start_url": "/?utm_source=homescreen",
"icons": [
{
"src": "assets/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "assets/icons/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"share_target": {
"action": "/share-target",
"method": "GET",
"params": {
"text": "text"
}
}
}