RNDeviceInfo is null

Hi,

I’ve got this error while trying to get my unique ID from a device.I’ve imported the import { getUniqueId } from 'react-native-device-info'; (and also tried the import DeviceInfo from 'react-native-device-info';).

const uuaid = getUniqueId();

How can I solve this please? Thanks (I’m in React Native > 0.59)

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