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 摘要。