-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support for Hermes on iOS (RN 0.64) #1986
Comments
Of course the |
Our app is on rc64-2 with Hermes enabled on iOS. I just made a codepush OTA update to our app and it worked perfectly. What am I missing? |
@gilbertl how did you create the bundle? |
We run
to bundle and release the update |
@mrousavy could you please let us know if this works for you ( with hermes enabled on IOS ) ? |
Works for me now. Not sure what the original issue was, maybe I had a weird |
@ivanmoskalev can you elaborate? How did you find that out? Does it still run when it's text-based? |
@mrousavy It does run, Hermes supports running JS source. How I found this out: in the Appcenter portal there is a button that allows you to download the Codepush update bundle that gets served by the Appcenter to your users. You can access by clicking on a specific CP deployment. I pressed it and inspected the iOS Codepush bundle manually. It contained JS source. When I checked the Android Codepush bundle the same way, it had Hermes bytecode. Then I checked |
I see, that is a problem. I assume this affects overall app performance, as the bundle is not fully optimized in that case. I'll reopen this issue then, hopefully a maintainer might look at this. Could you create an issue at the appcenter-cli repo in the meantime? @ivanmoskalev cc @alexandergoncharov or other maintainers |
I went ahead and created microsoft/appcenter-cli#1399 |
Hi there, Thanks for reopening the issue. Hermes for IOS is on our roadmap but we don't have ETA for this. Thanks, |
@alexandergoncharov Any updates ?. 😄 Thanks. |
@BANG88 this has been fixed (see microsoft/appcenter-cli#1399)! |
@ivanmoskalev https://github.com/microsoft/appcenter-cli/blob/2680289793d861a294c9e8d1a680abe3a6b7e72a/src/commands/codepush/lib/react-native-utils.ts#L403 I have checked here looks like only Android ATM. |
@BANG88 Check microsoft/appcenter-cli@3128d37 – you might want to use a version that includes this commit. |
@ivanmoskalev Sorry dude. I don't know which version include iOS Hermes Support. 😭 |
Hi all, Yeah, the latest version of the appcenter-cli has support for iOS Hermes. Sorry that I didn't mention it in this issue. @BANG88 , thanks for help :) |
Probably fine to close this issue right? It being open made me think it wasn't supported yet (it is!). Excited to try this out |
The first release candidate of 0.64 relased (React Native 0.64-rc0), which includes support for using the Hermes JS Executor on iOS.
While it's still a pre-release, it makes sense to support it once 0.64 officially releases, as now CodePush does not work with hermes enabled on iOS.
Is this already planned?
The text was updated successfully, but these errors were encountered: