Unable to listen to the 'beforeinstallprompt' event in PWA mode #16485
Unanswered
carvenl
asked this question in
CLI - PWA mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The beforeinstallprompt event is triggered before the installation of a PWA program.
The beforeinstallprompt event listener is written in App.vue as follows:
After running
quasar dev
, this event can be listened to.However, if you run
quasar dev -m pwa
to start in PWA mode, this event cannot be listened to.What could be the reason for this? How should one listen to the beforeinstallprompt event and manually trigger installation in PWA mode?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions