Problem with integrating Ignite 2.0 (ignite-ir-next) with Expo

#1

It is always showing RNDeviceInfo is undefined even if it is linked and inside the node_modules.

0 Likes

#2

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

#3

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…

0 Likes

#4

hello! you can get the version using just the built-in react-native Platform API

see this example: https://snack.expo.io/rJ1XvxieZ

0 Likes

#5

Thank you very much!

0 Likes