| 9eae8a6a | 14-Sep-2022 |
Kudo Chien <[email protected]> |
[ios][tools] Add Hermes support for Expo Go (#19078)
# Why
close ENG-6189
# How
- [tools] add *versionHermes.ts* to create a versioned hermes.xcframework. this script will be invoked in add
[ios][tools] Add Hermes support for Expo Go (#19078)
# Why
close ENG-6189
# How
- [tools] add *versionHermes.ts* to create a versioned hermes.xcframework. this script will be invoked in adding new sdk. it will also show a prompt to upload the artifact.
for ci testing, the hermes podspec also supports xcframework from local file system:
```
if File.exists?(File.join(__dir__, "destroot"))
source[:path] = '.'
else
source[:http] = 'https://github.com/expo/react-native/releases/download/sdk-47.0.0/ABI47_0_0hermes.tar.gz'
end,
```
- [tools] versioning hermes related code in react-native
- [manifest] add `jsEngine` method to read the jsEngine or ios.jsEngine value from manifest
- ~[reanimated] introduce `useHermes` runtime option to create specific js runtime~ Update: always use hermes to simplify the versioning script.
- [reanimated] backport sdk45, sdk46 code to disable hermes
# Test Plan
- `et add-sdk -p ios -s 47.0.0` + versioned expo go
- unversioned expo go + NCL
- unversioned expo go + NCL with `"jsEngine": "hermes"`
- versioning ci job passed: https://github.com/expo/expo/actions/runs/3049529467/jobs/4915687276
Co-authored-by: Tomasz Sapeta <[email protected]>
show more ...
|