Android system version


#1

I need to get the version of the system on which my application is installed. In the case of ios, I use “Expo.Constants.platform” and download systemVersion from the object. In the same way, it can not be done for android because the android has versionCode not systemVersion.That’s why I want to find out how to get information about the system version in android. Something like “Google Nexus 6 - 8.0 - API 26 - 1440x2560”. I will be grateful for the implementation example.


#2

Hey @goldscirer,

We need to update our docs but the same fields are available for Android as they are for iOS. So you can get the Android OS version as well.

Cheers,

Adam


#3

This is not the case. The result of the command "Expo.Constants.platform”on the android is (“android”:{“versionCode”:94}}. How can I get the name and version of the system in that case?


closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.