NativeModule.RNDeviceInfo is NULL

"expo": "~36.0.0",
"react": "~16.9.0",
"react-native": "~0.60.23",

I am trying to use ‘react-native-device-info’ libary, but I take this error:

Developers says that this is propblem with expo:

Yes, you would need to eject if you want to use this module.

@wodin why is that ? Is this a bug in expo ?

use expo-device: Device - Expo Documentation

read about managed workflow here: Workflows - Expo Documentation

1 Like