-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading 0.76.7 to 0.78 IOS just freeze on splash screen #49853
Comments
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Hi @nazacity I have change the .mm to .switft doesnt seems working as well |
Hi @nazacity It will be great if you can share a reproducer for this issue. You can use this template Reproducer Template |
Hi @sarthak-d11 Should we change .mm to .swift? |
I don't think so that the error is because of .mm files because in both cases we are overriding |
I will try to clear all other file to make a reproduce. |
I get the same issue from react-native 0.72.13 to 0.78.0
|
I simply removed the main.m file, changed the file extension from .mm to .swift, remove main.jsbundle and deleted the package-lock.json then install again . Everything works fine now, but I'm not entirely sure what caused the fix. I feel a bit uneasy because the AppDelegate.mm contains several frameworks like RNConfig, RNSplashScreen, GoogleMap... which may need to be converted to Swift versions. Additionally, there is a lack of references to guide me through this process Update: |
Description
After I run via xcode I got this message error
Error: Failed to call into JavaScript module method RCTEventEmitter.receiveEvent(). Module has not been registered as callable. Registered callable JavaScript modules (n = 7): AppRegistry, HMRClient, GlobalPerformanceLogger, RCTDeviceEventEmitter, RCTLog, RCTNativeAppEventEmitter, Systrace. Did you forget to call
registerCallableModule
?, js engine: hermesSteps to reproduce
React Native Version
0.78.0
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://gitlab.com/ant-delivery/ant-delivery-v2
Screenshots and Videos
The text was updated successfully, but these errors were encountered: