easemob / react-native-chat-sdk

MIT License
2 stars 10 forks source link

There is no ExtSdkApiRN native module on ios!? #20

Closed LofWalter closed 1 year ago

LofWalter commented 1 year ago

Description

when I started my server and ran on ios simulator, I found there was an error:

Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.

Finally, I checked the source code of this project and found there was no definition of NativeModules.ExtSdkApiRN.

there is no native module file in the ios folder?!!!

Version

1.0.11

Output of npx react-native info

Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.

Steps to reproduce

started my server and ran on ios simulator

Snack, code example, screenshot, or link to a repository

there is no any native module file in ios part...

Platform

SimulatorOrDevice

iOSVersion

AsteriskZuo commented 1 year ago
  1. 'npx react-native info' run result cannot be seen
  2. The emulator version cannot be seen Please provide more detailed development environment and details.