Skip to content

Commit 6be573e

Browse files
committed
Updated other Podfiles
1 parent 47caf8a commit 6be573e

File tree

2 files changed

+2
-2
lines changed
  • apps/bare-expo/ios
  • templates/expo-template-bare-minimum/ios

2 files changed

+2
-2
lines changed

apps/bare-expo/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSou
1010
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true'
1111
ENV['EXPO_LOCAL_MODULES_ENABLED'] = podfile_properties['expo.localModules.enabled'] == 'true' ? '1' : '0'
1212
if ENV['EXPO_LOCAL_MODULES_ENABLED'] == '1' then
13-
ENV['EXPO_LOCAL_MODULES_WATCHED_DIRS'] = podfile_properties['expo.localModules.watchedDirs']
13+
ENV['EXPO_LOCAL_MODULES_WATCHED_DIRS'] = JSON.generate(podfile_properties['expo.localModules.watchedDirs'])
1414
else
1515
ENV['EXPO_LOCAL_MODULES_WATCHED_DIRS'] = '[]'
1616
end

templates/expo-template-bare-minimum/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV['RCT_USE_RN_DEP'] ||= '1' if podfile_properties['ios.buildReactNativeFromSou
1010
ENV['RCT_USE_PREBUILT_RNCORE'] ||= '1' if podfile_properties['ios.buildReactNativeFromSource'] != 'true' && podfile_properties['newArchEnabled'] != 'false'
1111
ENV['EXPO_LOCAL_MODULES_ENABLED'] = podfile_properties['expo.localModules.enabled'] == 'true' ? '1' : '0'
1212
if ENV['EXPO_LOCAL_MODULES_ENABLED'] == '1' then
13-
ENV['EXPO_LOCAL_MODULES_WATCHED_DIRS'] = podfile_properties['expo.localModules.watchedDirs']
13+
ENV['EXPO_LOCAL_MODULES_WATCHED_DIRS'] = JSON.generate(podfile_properties['expo.localModules.watchedDirs'])
1414
else
1515
ENV['EXPO_LOCAL_MODULES_WATCHED_DIRS'] = '[]'
1616
end

0 commit comments

Comments
 (0)