Skip to content
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

Add Standalone as a property #239

Open
rmeske opened this issue Jan 19, 2022 · 2 comments
Open

Add Standalone as a property #239

rmeske opened this issue Jan 19, 2022 · 2 comments

Comments

@rmeske
Copy link

rmeske commented Jan 19, 2022

When running a PWA there are times when you need to know which browser and device you are working on. This utility is a great tool for retrieving that information, but there are two additional pieces of information that would be helpful.

One is if the app is running in the browser in a standalone mode. Knowing this is useful for:

  • Whether to present an installation prompt, especially on iOS
  • Screen layout
  • Opening links

Having a single property to check across browsers instead of needing to check navigator and media, would be preferred.

Knowing when the app is online or offline is helpful in how to manage a number of functionalities in a PWA. Again, having one property to check would be the simplest.

@DmitryEfimenko
Copy link

+1

@hardik-hns
Copy link

+1 iPhone 15 pro is not detecting using PWA stand-alone app + angular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants