Add manifest.json

This commit is contained in:
Hillel Coren 2020-06-08 17:49:04 +03:00
parent 67f7307b42
commit c522a39884
3 changed files with 30 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class IconText extends StatelessWidget {
children: <Widget>[ children: <Widget>[
Icon(icon, color: style?.color), Icon(icon, color: style?.color),
SizedBox(width: 10), SizedBox(width: 10),
Text(text, style: style), Text(text ?? '', style: style),
], ],
); );
} }

View File

@ -3,6 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Invoice Ninja</title> <title>Invoice Ninja</title>
<link rel="manifest" href="manifest.json">
</head> </head>
<body style="background-color:#888888;"> <body style="background-color:#888888;">

28
web/manifest.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "Invoice Ninja",
"short_name": "Invoice Ninja",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "The leading open-source invoicing app",
"orientation": "portrait-primary",
"prefer_related_applications": true,
"related_applications": [
{
"platform": "play",
"url": "https://play.google.com/store/apps/details?id=com.invoiceninja.app",
"id": "com.invoiceninja.app"
}, {
"platform": "itunes",
"url": "https://testflight.apple.com/join/MJ6WpaXh"
}
]
"icons": [
{
"src": "images/logo.png",
"sizes": "397x397",
"type": "image/png"
}
]
}