Skip to content

Support all orientation PWA #224

@marcosvega91

Description

@marcosvega91

Bug Report 🐛

I have installed the application on my smartphone and I see that the orientation was landscape

To Reproduce ✔️

When you open the website of testing-playground click on the install button

Expected behavior 🤔

To support both landscape than portrait

Suggested solution 🔦

We need to simple change the site.webmanifest

diff --git a/public/site.webmanifest b/public/site.webmanifest
index 82d6ab4..7feb201 100644
--- a/public/site.webmanifest
+++ b/public/site.webmanifest
@@ -5,7 +5,7 @@
   "theme_color": "#ffffff",
   "background_color": "#ffffff",
   "display": "standalone",
-  "orientation": "landscape",
+  "orientation": "any",
   "start_url": "/",
   "icons": [
     {

Your Environment 💻

  • browser: Chrome
  • os: Samsung Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions