No audio autoplay in APK built with PWAbuilder whereas it works on the source PWA or in the browser ? #4704
Unanswered
JAWAwebgames
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody,
I'm developing a PWA game that I'd love to put on the playstore, and PWA builder seems to be the perfect to do so. But on this APK version I need to add a first "touch to start" screen to start the game with its background music playing.
I'm wondering why I cannot autostart a background audio without a first user gesture in a "pwabuilt" apk app withe a TWA, whereas it works natively if I install the PWA from the browser, or if I navigate directly to my PWA url in a browser (given that the TWA has been registered).
Logically, an installed APK should be more trustworthy for the users than web browsing, as it was first installed by user's choice and then launched by touching the icon. Why is the app launch not being considered as the first user's gesture ?
Thank you very much.
Julien
Beta Was this translation helpful? Give feedback.
All reactions