Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unhandled JS Exception: TypeError: null is not an object (evaluating '(n=t.NativeModules.UMReactNativeEventEmitter).addProxiedListener') #89

Open
Yandamuri opened this issue Oct 28, 2022 · 0 comments

Comments

@Yandamuri
Copy link

I migrated my app from react-native-unimodules to Expo by following this guide -- https://github.com/expo/fyi/blob/main/expo-modules-migration.md

App is getting crashed while trying to install codepush updates. Here is the crash message form Xcode,

Screenshot 2022-10-28 at 6 03 36 PM

Here is the Crash report from Firebase Crashlytics,

Fatal Exception: RCTFatalException: Unhandled JS Exception: TypeError: null is not an object (evaluating '(n=t.NativeModules.UMReactNativeEventEmitter).addProxiedListener')
Unhandled JS Exception: TypeError: null is not an object (evaluating '(n=t.NativeModules.UMReactNativeEventEmitter).addProxiedListener'), stack: <unknown>@1077:728 value@148:830 value@1076:568 <unknown>@1480:2694 v@2:1473 <unknown>@1090:3543 v@2:1473 <unknown>@1014:1107 v@2:1473 <unknown>@768:237 v@2:1473 <unknown>@758:228 v@2:1473 <unknown>@410:384 v@2:1473 <unknown>@6:169 v@2:1473 d@2:875 global code@1586:3

RCTAssert.m - Line 166
RCTFormatError + 166

Here are few important points to notice,

  1. Release Mode --> App crashes while trying to install codepush updates.

  2. Debug Mode -- > There is no crash while trying to install codepush updates.

This crash is occurring apparently after I migrated from react-native-unimodules to Expo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant