문제

How can I know the IMEI of the mobile,

via an HTML site

Without using PhoneGap?

도움이 되었습니까?

해결책

In a phone, only native app can have access to the IMEI number, not web apps. So the browser may have access if it has enough permissions but this information is not provided to the page. This is intentional because many things can be achieved by the site owner like tracking and for ads.

So, if you really want to have the IMEI, you would need to create a native app (like PhoneGap which you have said no to) and get permissions. If your intention is just to track the user in your site, you can assign a unique id for him/her in a cookie.

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