Skip to content Skip to sidebar Skip to footer

How To Detect Android's Version Number In Firefox For Android?

For a website we want to show a link in the play store if the user comes with an Android 4+ device. All browsers we tested sent the version number of Android in their user-agent st

Solution 1:

Unfortunately, you cannot. See Bug 625238 - Add device info to User-Agent and the related Bug 807495 - User Agent does not include handset Device Model.

In general, Mozilla has a policy of not adding User Agent (or HTTP header) information, and they currently have the opinion that developers do not need to know the running Android version.

Post a Comment for "How To Detect Android's Version Number In Firefox For Android?"