It is always showing RNDeviceInfo is undefined even if it is linked and inside the node_modules.
you can’t link custom native code in Expo without detaching your project.
all of the information from the device-info module is available out of the box with Expo afaik: https://docs.expo.io/versions/v15.0.0/sdk/constants.html
1 Like
Hello @notbrent, I’m trying to find some information about Constants, but it is really hard… Is it possible to get the device OS and version? Do the Expo.Constants.platform work with Android?
Find these informations is really critical for my project, so I’m crazy searching for some knowledge to realize if Expo will do the job…
hello! you can get the version using just the built-in react-native Platform API
see this example: https://snack.expo.io/rJ1XvxieZ
Thank you very much!