From 74c683eb44398a84443ec17903c3e002bb5ea9b9 Mon Sep 17 00:00:00 2001 From: Yassine Doghri <yassine@doghri.fr> Date: Sun, 23 Jan 2022 19:07:57 +0000 Subject: [PATCH] fix(pwa): add scope to webmanifests to allow installing an app per podcast --- app/Controllers/WebmanifestController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controllers/WebmanifestController.php b/app/Controllers/WebmanifestController.php index 60bd523ca1..97f7262187 100644 --- a/app/Controllers/WebmanifestController.php +++ b/app/Controllers/WebmanifestController.php @@ -94,6 +94,7 @@ class WebmanifestController extends Controller 'description' => $podcast->description, 'lang' => $podcast->language_code, 'start_url' => $podcast->link, + 'scope' => '/@' . $podcast->handle, 'display' => 'standalone', 'orientation' => 'portrait', 'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'], -- GitLab