Last Updated on January 1, 2019.
If you are developing an Android app using React Native then you may need to know the Android version of your Android app for various version specific purposes.
For example, if you need to prompt running permissions in Android API versions above Android Lollipop. For this, you should know if the Android API level of user’s device.
You can do this by simply using Platform API of react native.
'Running on Marshmallow!'