Skip to content

Commit

Permalink
Add the orientation option to manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
silviolleite committed Nov 13, 2018
1 parent 4c983d2 commit ab7291d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
'background_color' => '#ffffff',
'theme_color' => '#000000',
'display' => 'standalone',
'orientation'=> 'any',
'icons' => [
'72x72' => '/images/icons/icon-72x72.png',
'96x96' => '/images/icons/icon-96x96.png',
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Configure your app name, description, and icons in `config/laravelpwa.php`.
'background_color' => '#ffffff',
'theme_color' => '#000000',
'display' => 'standalone',
'orientation' => 'any',
'icons' => [
'72x72' => '/images/icons/icon-72x72.png',
'96x96' => '/images/icons/icon-96x96.png',
Expand Down
1 change: 1 addition & 0 deletions Services/ManifestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function generate()
'display' => config('laravelpwa.manifest.display'),
'theme_color' => config('laravelpwa.manifest.theme_color'),
'background_color' => config('laravelpwa.manifest.background_color'),
'orientation' => config('laravelpwa.manifest.orientation')
];

foreach (config('laravelpwa.manifest.icons') as $size => $file) {
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "LaravelPWA",
"alias": "laravelpwa",
"description": "Looks like an app, feels like an app, but NOT an app.",
"keywords": [],
"keywords": ["laravel", "pwa", "progressive web app"],
"active": 1,
"order": 0,
"providers": [
Expand Down

0 comments on commit ab7291d

Please sign in to comment.