-
-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement] Add environment variable to set manifest variable "display": "standalone"
#264
Comments
"display": "standalone"
editable via an environment variable and stand"display": "standalone"
"display": "standalone"
"display": "standalone"
Hello @schlagmichdoch, it would be interesting to implement It works like this: {
"display_override": ["minimal-ui"],
"display": "standalone"
} Since Safari doesn't support this property, it will just use standalone as the display mode. On supported browsers (Chrome, Edge, etc.) il will use minimal-ui. Thank you in advance! |
Interesting manifest property! I don't think |
I think the only benefit of keeping |
I guess we'll just switch over completely to |
Okay I agree with you, I just thought you still wanted to keep minimal-ui because of commit c040515 If it does not create any unwanted side effects, standalone mode would be so much better. Right now on iphone it just opens in the browser and there are dozens of pairdrop tabs. |
Good catch but I have somehow changed my mind. In the end you only have to pair your own devices once anyway and are good to go after that so it's not a big pain to do that on the browser and on the pwa separately. I think the improvement in user experience through a stand-alone pwa is greater than the benefit of having only one db. On desktop browsers that's already the case anyway. |
@MrPropre Are you open to test this on this instance: https://pairdrop.onrender.com |
@schlagmichdoch I think it looks good. Here are some screenshots on iOS after installing the PWA. |
## Enhancements - Make PWA standalone (#264) - Bring back background animation after performance optimization (#285) - Add support for Safari 11-15 (#358) - Update Twitter icon and URL to (X) (Thanks @realchrislovett) - Update node dependencies ## Fixes - Fix pasting of files on background to invoke share-mode and make it available on Firefox (#370) - Fix padding issue on EditPairedDevicesDialog and Base64Dialog - Fix hydration of URLs into links in received messages that have exclamation marks in path ## Languages - Translations updates from Hosted Weblate (Basque, Norwegian Bokmål)
As discussed in #254 there should be a possibility for admins to set the display mode.
As iOS cannot use PWAs in share menus and QR codes are always opening in the browser, the current default is
'display': 'minimal-ui'
.Maybe set
'display': 'standalone'
as default anyway, as it would be an enhancement for UI clarity (hides the address bar).The text was updated successfully, but these errors were encountered: