Browse Source

Complete the Manifest content to have a better PWA integration

pull/1256/head
Timothée Jaussoin 2 years ago
parent
commit
d2b2cccc9f
  1. 1
      CHANGELOG.md
  2. 18
      app/widgets/Manifest/Manifest.php

1
CHANGELOG.md

@ -8,6 +8,7 @@ v0.22.6 (trunk)
* Refactor and cleanup the info for stickers messages
* Move the file message related logic to the Message model
* Refactor the Stickers and File display and cleanup the related CSS
* Complete the Manifest content to have a better PWA integration
v0.22.5
---------------------------

18
app/widgets/Manifest/Manifest.php

@ -81,11 +81,27 @@ class Manifest extends Base
]
]
],
'display_override' => ['window-controls-overlay'],
'display' => 'standalone',
'orientation' => 'portrait-primary',
'background_color' => '#10151A',
'theme_color' => '#10151A',
'start_url' => '/?login',
'id' => '/login',
'start_url' => '/login',
'launch_handler'=> [
'client_mode' => 'navigate-new',
],
'categories' => ['news', 'photo', 'social', 'entertainment'],
'dir' => 'auto',
'lang' => 'en',
'prefer_related_applications' => false,
'protocol_handlers' => [[
'protocol' => 'xmpp',
'name' => 'Movim',
'url' => '/share/%s'
]],
'handle_links' => 'preferred',
'edge_side_panel' => ['preferred_width' => 375],
];
$this->view->assign('json', json_encode($infos));

Loading…
Cancel
Save