Good day
How can one add additional settings to the generated manifest.json file? e.g. screen-shots parameters
Example
How can one add additional settings to the generated manifest.json file? e.g. screen-shots parameters
Example
B4X:
{
"name": "Squoosh",
"short_name": "Squoosh",
"start_url": "/?utm_medium=PWA&utm_source=launcher",
"display": "standalone",
"orientation": "any",
"background_color": "#fff",
"theme_color": "#ff3385",
"icons": [
{
"src": "/c/icon-large-cb438cac.png",
"type": "image/png",
"sizes": "1024x1024"
},
{
"src": "/c/icon-large-maskable-c2078ced.png",
"type": "image/png",
"sizes": "1024x1024",
"purpose": "maskable"
}
],
"description": "Compress and compare images with different codecs, right in your browser.",
"lang": "en",
"categories": [
"photo",
"productivity",
"utilities"
],
"screenshots": [
{
"src": "/c/screenshot1-0ff68546.png",
"type": "image/png",
"sizes": "540x720",
"form_factor": "narrow"
},
{
"src": "/c/screenshot2-1f78c4db.jpg",
"type": "image/jpeg",
"sizes": "540x720",
"form_factor": "narrow"
},
{
"src": "/c/screenshot3-c1e02216.jpg",
"type": "image/jpeg",
"sizes": "540x720",
"form_factor": "narrow"
},
{
"src": "/c/screenshot4-3a706c3c.png",
"type": "image/png",
"sizes": "1024x593",
"form_factor": "wide"
},
{
"src": "/c/screenshot5-ea50826f.jpg",
"type": "image/jpeg",
"sizes": "1024x593",
"form_factor": "wide"
},
{
"src": "/c/screenshot6-0168d284.jpg",
"type": "image/jpeg",
"sizes": "1024x593",
"form_factor": "wide"
}
],
"share_target": {
"action": "/?utm_medium=PWA&utm_source=share-target&share-target",
"method": "POST",
"enctype": "multipart/form-data",
"params": {
"files": [
{
"name": "file",
"accept": [
"image/*"
]
}
]
}
}
}