문제

I'm developing a simple mobile webpage using pure HTML5 and CSS3 for my company. My boss has asked me to make in the webpage a way to create a launcher in the user's mobile phone home screen/launcher to the website, even if with the user's authorization (without the user needing to add the website to the favorites and then creating a widget to it, in Android's case). Is it even possible? I honestly believe not, as it could be a great security breach, but I want to ask to people with more knowledge.

도움이 되었습니까?

해결책

You are right, for security reasons you cannot do this. On iOS as on Android, You will have to show a widget to the user begging him to add your app to his home screen.

다른 팁

On an iPhone you just tap the 'Add to Home Screen' button and the icon is added to the desktop, no drama, and no security breach.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top