Skip to content

Commit

Permalink
fix: remove old prefix RNC (#659)
Browse files Browse the repository at this point in the history
BuildDotenvConfig.rb generates GeneratedInfoPlistDotEnv.h with old prefix RNC that isnt used anymore
  • Loading branch information
luancurti authored Jun 10, 2022
1 parent cc1263a commit 6c2632d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ReactNativeConfig/BuildDotenvConfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
File.open(path, 'w') { |f| f.puts template }

# create header file with defines for the Info.plist preprocessor
info_plist_defines_objc = dotenv.map { |k, v| %Q(#define RNC_#{k} #{v}) }.join("\n")
info_plist_defines_objc = dotenv.map { |k, v| %Q(#define #{k} #{v}) }.join("\n")

# write it so the Info.plist preprocessor can access it
path = File.join(ENV["BUILD_DIR"], "GeneratedInfoPlistDotEnv.h")
Expand Down

0 comments on commit 6c2632d

Please sign in to comment.