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

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

未关闭
#664 16 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
2.8k
派生
258
平均合并
3 天 1 小时
30 天内合并 PR
2

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。