question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined is not an object (evaluating 'RNDeviceInfo.uniqueId')

See original GitHub issue

Summary

Version 0.22.2
Affected OS iOS / Android
OS Version iOS 11, Android Oreo

Current behavior

If I call any of the methods, I got an error message: undefined is not an object (evaluating 'RNDeviceInfo.uniqueId')

Expected behavior

Not get an error message, but see the results from the methods as in the documentation.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19

github_iconTop GitHub Comments

1reaction
mikehardycommented, May 30, 2019

Anything in an npm run script is custom, fully defined by the project. No one else will share that command - I’d always assume I need to cd ios && pod install

1reaction
Dezainercommented, Nov 23, 2018

After you guys installed it and executed the react-native link, try to rebuild the app so it applies the native code changes, it may work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined is not an object (evaluating 'RNDeviceInfo.uniqueId')
Current behavior. If I call any of the methods, I got an error message: undefined is not an object (evaluating 'RNDeviceInfo.uniqueId') ...
Read more >
undefined is not object (evaluating 'RNDeviceInfo.deviceId')
First check is it added to your package.json or not? Then link the package with react native using following command
Read more >
undefined is not an object (evaluating 'device.id') in ... - YouTube
ERROR TypeError: undefined is not an object ( evaluating 'device.id')Please do like share and comment if you like the video please do hit ......
Read more >
Android – Get device id in react native - iTecNote
I am using create react native not android studio. I am new to this. ... Error: undefined is not an object (evaluating 'RNDevice.uniqueId')....
Read more >
react-native-device-info - npm
Your iOS Podfile will need to move to an iOS 10 minimum. v7 of this module no longer supports iOS9. Installation. Using npm:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found