Skip to content

Commit de58dfc

Browse files
authored
Hermes v1を維持しつつiOS起動クラッシュを修正 (#5475)
1 parent 41a87d9 commit de58dfc

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

app.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export default ({ config }: ConfigContext) => ({
1111
'expo-web-browser',
1212
'expo-sqlite',
1313
'expo-asset',
14-
'expo-asset',
1514
[
1615
'expo-location',
1716
{

ios/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ require 'json'
55
podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}
66

77
ENV['RCT_NEW_ARCH_ENABLED'] ||= '0' if podfile_properties['newArchEnabled'] == 'false'
8+
ENV['RCT_HERMES_V1_ENABLED'] ||= '1' if podfile_properties['expo.useHermesV1'] == 'true'
89
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] ||= podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
910
ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true' && podfile_properties['newArchEnabled'] != 'false'
1011
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true' && podfile_properties['newArchEnabled'] != 'false'

ios/Podfile.properties.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"expo.jsEngine": "hermes",
3+
"expo.useHermesV1": "true",
34
"ios.useFrameworks": "static",
45
"ios.buildReactNativeFromSource": "true",
56
"EX_DEV_CLIENT_NETWORK_INSPECTOR": "true",

0 commit comments

Comments
 (0)