Skip to content

Failed to call into JavaScript module method RCTEventEmitter.receiveEvent() #664

@AkramHarazem

Description

@AkramHarazem

Description

Description
After wrapping app using

Getting following error,

Uncaught Error

{
"message": "Error: Failed to call into JavaScript module method RCTEventEmitter.receiveEvent(). Module has not been registered as callable. Registered callable JavaScript modules (n = 9): AppRegistry, HMRClient, GlobalPerformanceLogger, RCTNativeAppEventEmitter, SamplingProfiler, RCTDeviceEventEmitter, RCTLog, HeapCapture, Systrace. Did you forget to call registerCallableModule?",
"stack": []
}

If I remove … . App works fine but without insets which causes issues with margins on top

React-native-navigation
8.3.2

Steps to reproduce

Upgraded to 077.3
Upgraded react-native-safe-area-context to 5.6.1 and this issue started happening

Snack or a link to a repository

#661

Safe Area Context version

5.6.1

React Native version

0.77.3

Platforms

iOS

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

iPhone 16 Pro Max

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions