igniterealtime / pade

Pàdé (Yoruba word for Meet) is a browser extension (Chrome/Edge) based unified communications desktop client for Openfire.
https://igniterealtime.github.io/pade/
Apache License 2.0
107 stars 47 forks source link

Orientation on android tablet or phone set to portrait, after opening options.html set up page #186

Closed ClaudeStabile closed 5 years ago

ClaudeStabile commented 5 years ago

Hello,

We have the following behavior on android

When we go through options (gear at the top) on android in PWA mode, orientation is set definitively to portrait, no way to use landscape after option page has been open.

And option to set & choose lock (portrait - landscape") would be a great + for Padé

Thanks a lot in advance for all efforts made on this wonderful project

deleolajide commented 5 years ago

You can change this by editing the PWA manifest file called manifest.json at OPENFIRE_HOME/plugins/ofchat/classes/apps/manifest.json

{
    "short_name": "pade.chat",
    "name": "pade.chat",
    "description": "Unified Communications web client",    
    "icons": [
        {
            "src": "images/image_192.png",
            "sizes": "192x192",
            "type": "image/png"
        },
        {
            "src": "images/image_512.png",
            "sizes": "512x512",
            "type": "image/png"
        }
    ],
    "start_url": "./",
    "background_color": "#FFFFFF",
    "theme_color": "#FFFFFF",
    "display": "standalone",
    "orientation": "portrait"
}

Change the value of orientation. See for more details see https://developers.google.com/web/fundamentals/web-app-manifest/ https://developer.mozilla.org/en-US/docs/Web/Manifest