Is there a way to make a user download your PWA?

I haven’t been using PWAs for a long time but I’ve made a couple of apps for my phone. I was wondering if there was a way to block content on your app in the web browser but be able to show certain content after the user has downloaded the app and is on the app? Is there a way to do this and if so, how? Thanks!

I’m seeing from the glitch-hello-installable starter that there’s a media query (display-mode: standalone) for when it’s installed

1 Like

So would I have to put this into an if then else in javascript

you can use media queries in CSS too

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.