appandflow / appandflow/react-native-safe-area-context

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

Open
#664 16 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.8k
Forks
258
Avg merge
3d 1h
Merged PRs (30d)
2

Description

### 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

https://github.com/AppAndFlow/react-native-safe-area-context/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.