-
Notifications
You must be signed in to change notification settings - Fork 612
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
iOS #34
Comments
Apple forced to use V8 js engine. Hermes is a custom js engine. |
But we are not apps that browse the web right? And if we are precompiling to bytecode? How is it different from frameworks like flutter? |
The important section is this one:
Apple requires that if you want to download and intepret JavaScript at runtime, you use JavaScriptCore. The key part here is runtime - Flutter does not let you dynamically execute code at runtime, only compile it as part of your released app. With Hermes you could (in theory?) download bytecode remotely and execute it at runtime, which is what Apple forbids. |
Apple forced to use JavaScriptCore,not V8 |
Currently quotation from @alastaircoote is incorrect. Current statement is:
Source: https://developer.apple.com/programs/information/Apple_Developer_Program_Information_8_12_15.pdf So currently Apple don't force apps to use JSC, it only requires all executed code to be packed in app bundle. And only if you need to download code (technically speaking execute code without any review from Apple), only in this case code can be only executed with system JSC. |
I found the quotation from @vovkasm is still a little outdated (dated back to 8/12/2015). The latest statement from Apple Developer Program License Agreement on https://developer.apple.com/terms is:
which not even mentioned JavaScriptCore at all. |
Oh, sorry! Of course @cayomey are right. Latest term is at auth only page as he mentioned. And probably it even allows to download "interpreted code" (still needs to be proved by real published apps, imho). |
I think that Facebook is already using Hermes on iOS for a while now. There is a hbcbundle instead of a jsbundle in the Facebook app bundle. |
Is there any news on this? If nothing else we'd like to use Hermes on iOS for it's ability to remote debug sync react native code. |
V8 is now on iOS |
@zhigang1992 does hermes works on ios now? |
any update? or |
Can we disable the ability to execute code dynamically at runtime so we can use it on iOS? |
@zhigang1992 does hermes works on ios now? |
@tohami Looks like see Pull Request 332 |
I guess this one should be closed now as hermes is supported in iOS officially since 0.64.0: https://github.com/facebook/react-native/releases/tag/v0.64.0 |
What about iOS? Why only for Android?
The text was updated successfully, but these errors were encountered: