Is the install prompt supposed to happen automatically? #81
-
If I do only what is in the Use section I'm not seeing any prompts to install the PWA. If I add code from the demo app with the show and hide buttons I can get it to pop up, though the install button doesn't seem to work. I kind of assumed this would handle all of that for me, but wondering if it's just providing the functions and we're responsible for triggering them as needed? It looks great, just need more clarity on what I need to implement to use it. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
same here, it looks amazing but i wish it would install on click bcus its just a modal at this point 😢 |
Beta Was this translation helpful? Give feedback.
-
@jsparks19 @AndrasE You can't call browser installation any time you want. Browser have heuristics to throttle this kind of requests until user makes at least some interactions on your site. Yes, install prompt happen automatically if you added the library in a right way. Make sure it's loads as soon as possible, otherwise you need to test async approach (described in readme) |
Beta Was this translation helpful? Give feedback.
@jsparks19 @AndrasE You can't call browser installation any time you want. Browser have heuristics to throttle this kind of requests until user makes at least some interactions on your site. Yes, install prompt happen automatically if you added the library in a right way. Make sure it's loads as soon as possible, otherwise you need to test async approach (described in readme)