diff --git a/CHANGELOG.md b/CHANGELOG.md index 00c5975e5..65a63632c 100644 --- a/CHANGELOG.md +++ b/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 --------------------------- diff --git a/app/widgets/Manifest/Manifest.php b/app/widgets/Manifest/Manifest.php index e9980b1c4..e0fd4283f 100644 --- a/app/widgets/Manifest/Manifest.php +++ b/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));