Skip to content
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

react-native 0.60.3 hermes support for android #1626

Closed
xDAnkit opened this issue Jul 12, 2019 · 14 comments
Closed

react-native 0.60.3 hermes support for android #1626

xDAnkit opened this issue Jul 12, 2019 · 14 comments
Assignees

Comments

@xDAnkit
Copy link

xDAnkit commented Jul 12, 2019

react-native introduced hermes for android . When you guys are planning for supporting RN 0.60.3. Since as per Team FB they have migrated the JavaScript engine to hermes and mentioned that the code generation and compilation is being done at build side.

@xDAnkit xDAnkit changed the title react-native-code-push hermes support react-native 0.60.3 hermes support for android Jul 12, 2019
@jstheoriginal
Copy link

Does CodePush still work if you enable Hermes? I would expect there’s still a jsbundle with Hermes...it’s just not optimized if a CodePush jsbundle were to be installed afterwards, correct?

Is this ticket just asking for CodePush to optimize the CodePush jsbundles with the Hermes engine?

@usrbowe
Copy link

usrbowe commented Jul 17, 2019

I guess the end goal of "supporting Hermes" is to introduce bytecode compilation option for Android codepushes and server that file OTA.
But I assume, current jsbundle will work, but just not gonna benefit from. I'll test this assumption soon.

@xDAnkit
Copy link
Author

xDAnkit commented Jul 19, 2019

Does CodePush still work if you enable Hermes? I would expect there’s still a jsbundle with Hermes...it’s just not optimized if a CodePush jsbundle were to be installed afterwards, correct?

Is this ticket just asking for CodePush to optimize the CodePush jsbundles with the Hermes engine?

Yes, Wanted to know that whether do we need to wait for new updates on codepush to support hermes. Or the current version will support it.

Since as i read hermes docs the whole engine is getting replaced it. and instead of packaging bundle the android code will push optimized bundle.

@iit2008047
Copy link

would really love the hermes support!

@eggli
Copy link

eggli commented Aug 5, 2019

Hey folks, I've just opened a PR to support Hermes form the CLI level, no code has to be modified from the client side to support Hermes, feel free to comment on my PR, thanks.

@eggli
Copy link

eggli commented Aug 6, 2019

The PR to support Hermes from CLI level got merged, I think we can close this issue for now.

@jstheoriginal
Copy link

Greatly appreciate your contribution to get this in, @eggli!

@alexandergoncharov-zz
Copy link
Contributor

Hi all,

I'm going to close this issue for now as PR was merged. Thanks @eggli !
Please feel free to reopen it if you have any questions.

@luatnd
Copy link

luatnd commented Aug 7, 2020

Which cli version contain above merge request?
I cannot see any log relate to hermes.

My cmd:

appcenter codepush release-react -a <my_app> -d Production  -t 3.0.0 -x

My system:

npmPackages:
  react: 16.9.0 => 16.9.0 
  react-native: 0.61.5 => 0.61.5 
 npmGlobalPackages:
  create-react-native-app: 3.2.4
  react-native-cli: 2.0.1
  react-native-create-library: 3.1.2
$ appcenter --version 
appcenter version 2.3.0

@kaushikwavhal
Copy link

kaushikwavhal commented Jul 21, 2021

Hi all,

I'm going to close this issue for now as PR was merged. Thanks @eggli !
Please feel free to reopen it if you have any questions.

Can anyone please share the link to the PR which was merged? i am unable to find anything related to hermes in the documentation of codePush. The bundles being uploaded to appcenter are still plaintext JS bundles.
Is there some flag to enable hermes compilation before upload?

@rocwind
Copy link

rocwind commented Jul 21, 2021

Hi all,
I'm going to close this issue for now as PR was merged. Thanks @eggli !
Please feel free to reopen it if you have any questions.

Can anyone please share the link to the PR which was merged? i am unable to find anything related to hermes in the documentation of codePush. The bundles being uploaded to appcenter are still plaintext JS bundles.
Is there a secret flag to enable hermes compilation before upload?

microsoft/appcenter-cli#627

@yaronlevi
Copy link

@rocwind

We are at the same problem here

react-native @ 0.63.3
react-native-code-push @ 6.4.0

How can we tell the Codepush CLI to produce a JS bundle that is compatible with Hermes?

@rocwind
Copy link

rocwind commented Aug 17, 2021

@rocwind

We are at the same problem here

react-native @ 0.63.3
react-native-code-push @ 6.4.0

How can we tell the Codepush CLI to produce a JS bundle that is compatible with Hermes?
@yaronlevi

I think It's the code-push-cli version matters:

@yaronlevi
Copy link

@rocwind Thanks for the help! We will try to make it work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants