Files
fizzy/app/views/pwa/manifest.json.erb
T
Jason Zimdars 50d5955be3 App icons should have backgrounds
Also: create a proper, padded maskable version for Android
2025-07-24 09:27:23 -05:00

43 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "<%= [ Account.sole.name, "Fizzy", Rails.env.production? ? nil : Rails.env ].compact.join(" - ") %>",
"icons": [
{
"src": "/app-icon-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/app-icon.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "/app-icon-192-maskable.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "maskable"
}
],
"start_url": "<%= root_path %>",
"display": "standalone",
"scope": "<%= root_path %>",
"description": "Card-up the biggest issues in your projects",
"categories": ["bugs", "business", "productivity"],
"shortcuts": [
{
"name": "Notifications",
"description": "Catch up on recent notifications",
"url": "<%= notifications_path %>",
"icons": [{ "src": "<%= image_url("bell.svg") %>", "sizes": "any" }]
},
{
"name": "Latest Activity",
"description": "See whats new",
"url": "<%= root_path %>",
"icons": [{ "src": "<%= image_url("activity.svg") %>", "sizes": "any" }]
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}