Closed gracefullight closed 4 years ago
Picking this up - do we have explicity documentation about the conditions under which the install button & install prompts will show? @diekus
Support for window.addEventListener('beforeinstallprompt', function(){} ) is vital for making progressive web apps user-friendly.
Support for window.addEventListener('beforeinstallprompt', function(){} ) is vital for making progressive web apps user-friendly.
We have added the support for beforeinstallpromt in Samsung Internet v10.2 - which is currently our latest Beta version. Please let us know if there are more improvements necessary!
In Chrome, there is a flag available for developers to bypass the user engagement conditions in order to trigger this event. This is really important when implementing functionality that listens to beforeinstallprompt
, as otherwise it severely hinders testing. I haven't found any information on there being an equivalent setting in Samsung Internet, have I missed it? Or do you plan adding such a flag?
We don't have a flag for that sorry.
ambient-badging 의 조건은
로 알고 있습니다.
이 조건을 만족했을 경우 add to home screen install prompt 가 뜨는데요. 설치 되거나 닫을 경우 다시 보여지는 조건이 궁금합니다.
크롬의 경우 설치를 지울 경우 다시금 prompt 가 보여지는데 반해 삼성 브라우저는 a2hs 의 스펙을 알 수 있는 문서가 없네요.
https://developer.samsung.com/internet/android/web-guide 여기의
이 조건은 너무 명시적이지 않은 것 같네요.