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.

'u.getUniqueID' is undefined after upgrading to v0.22.3

See original GitHub issue

Summary

Version v0.22.3
Affected OS ios
OS Version 11.4

Current behavior

After simple upgrade from v0.22.2 to v0.22.3 I’m getting u.getUniqueID is undefined nothing else has hanged in my codebase. Simple revert back to v0.22.2 fixes this issue.

Here is full log:

2018-08-08 11:35:26.456 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID()', 'u.getUniqueID' is undefined)
2018-08-08 11:35:26.456828+0200 HabitChallenge[86310:8399601] Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID()', 'u.getUniqueID' is undefined)
2018-08-08 11:35:26.475465+0200 HabitChallenge[86310:8399601] Encountered an uncaught exception. All Mixpanel instances were archived.
2018-08-08 11:35:26.476239+0200 HabitChallenge[86310:8399601] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID()', 'u.getUniqueID' is undefined)', reason: 'Unhandled JS Exception: u.getUniqueID is not a function. (In 'u.getUniqueID..., stack:
<unknown>@729:3177
l@2:1476
<unknown>@727:1303
l@2:1476
<unknown>@726:156
l@2:1476
<unknown>@554:422
l@2:1476
<unknown>@541:236
l@2:1476
<unknown>@515:282
l@2:1476
<unknown>@514:143
l@2:1476
<unknown>@13:282
l@2:1476
<unknown>@12:39
l@2:1476
a@2:863
global code@1032:8
'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001148681e6 __exceptionPreprocess + 294
	1   libobjc.A.dylib                     0x0000000113797031 objc_exception_throw + 48
	2   HabitChallenge                      0x000000010dcb67ad RCTFormatError + 0
	3   HabitChallenge                      0x000000010dcb33e2 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 507
	4   CoreFoundation                      0x00000001147ebccc __invoking___ + 140
	5   CoreFoundation                      0x00000001147ebb84 -[NSInvocation invoke] + 308
	6   CoreFoundation                      0x00000001148048d6 -[NSInvocation invokeWithTarget:] + 54
	7   HabitChallenge                      0x000000010dcc9db5 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 600
	8   HabitChallenge                      0x000000010dd0ffe2 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 266
	9   HabitChallenge                      0x000000010dd0fd5b ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
	10  libdispatch.dylib                   0x00000001159bc7ab _dispatch_call_block_and_release + 12
	11  libdispatch.dylib                   0x00000001159bd7ec _dispatch_client_callout + 8
	12  libdispatch.dylib                   0x00000001159c5be5 _dispatch_queue_serial_drain + 1305
	13  libdispatch.dylib                   0x00000001159c64fa _dispatch_queue_invoke + 328
	14  libdispatch.dylib                   0x00000001159c2344 _dispatch_queue_override_invoke + 726
	15  libdispatch.dylib                   0x00000001159c936c _dispatch_root_queue_drain + 664
	16  libdispatch.dylib                   0x00000001159c9076 _dispatch_worker_thread3 + 132
	17  libsystem_pthread.dylib             0x0000000115e78169 _pthread_wqthread + 1387
	18  libsystem_pthread.dylib             0x0000000115e77be9 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Expected behavior

Upgrading minor versions should not break client application.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:9

github_iconTop GitHub Comments

7reactions
eshikeryacommented, Aug 12, 2018
import DeviceInfo from 'react-native-device-info';

fixes the issue

2reactions
eshikeryacommented, Aug 9, 2018

same issue. sounds like changing from module.exports = {...} to export default {...} broke everything

(0, _reactNativeDeviceInfo.isTablet) is not a function
Read more comments on GitHub >

github_iconTop Results From Across the Web

'u.getUniqueID' is undefined after upgrading to v0.22.3 #468
After simple upgrade from v0.22.2 to v0.22.3 I'm getting u.getUniqueID is undefined nothing else has hanged in my codebase.
Read more >
Developers - 'u.getUniqueID' is undefined after upgrading to v0.22.3 -
Summary. Version v0.22.3 Affected OS ios OS Version 11.4. Current behavior. After simple upgrade from v0.22.2 to v0.22.3 I'm getting u.getUniqueID is ......
Read more >
react-native-device-info - Gitee
Go to node_modules/react-native-device-info; Add the .xcodeproj file. In XCode, in the project navigator, select your project. ... Click .xcodeproj file you added ...
Read more >
undefined is not object (evaluating 'RNDeviceInfo.deviceId')
open your project in Xcode, then under build phases add a binary file of react-native-device-info by clicking on the + button.
Read more >
Executive Report - Joe Sandbox
https://cdc.demdex.net/dest5.html?d_nsid=undefined#https%3A%2F%2Fwww.cdc.gov ... Office Professional Plus 2016, IE 11, Adobe Reader DC 19, Java 8 Update 211.
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