Skip to content

Commit

Permalink
Merge branch 'release/1.0' of github.com:pavjacko/renative into feat/…
Browse files Browse the repository at this point in the history
…upgrade_to_rn73
  • Loading branch information
mihaiblaga89 committed Feb 6, 2024
2 parents 6364615 + b01c7b5 commit fe8aae0
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/engine-rn-macos/templates/platforms/macos/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{PLUGIN_PODFILE_SOURCES}}
platform :macos, '{{PLUGIN_DEPLOYMENT_TARGET}}'
platform :macos, '{{INJECT_PLUGIN_DEPLOYMENT_TARGET}}'
{{PLUGIN_WARNINGS}}

# ReNative: To allow dynamic plugins via flavours autolinking has to be disabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ newArchEnabled={{NEW_ARCH_ENABLED}}

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled={{HERMES_ENABLED}}
hermesEnabled={{INJECT_HERMES_ENABLED}}

# ACTUALS
# HARDCODED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ newArchEnabled={{NEW_ARCH_ENABLED}}

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled={{HERMES_ENABLED}}
hermesEnabled={{INJECT_HERMES_ENABLED}}

# ACTUALS
# HARDCODED
Expand Down
8 changes: 6 additions & 2 deletions packages/engine-rn-tvos/templates/platforms/tvos/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end

target 'RNVApp' do
config = use_native_modules!
platform :ios, '{{PLUGIN_DEPLOYMENT_TARGET}}'
platform :ios, '{{INJECT_PLUGIN_DEPLOYMENT_TARGET}}'

use_react_native!(
:path => config[:reactNativePath],
Expand All @@ -29,6 +29,8 @@ target 'RNVApp' do
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => flipper_config,
# Hermes is now enabled by default. Disable by setting this flag to false.
:hermes_enabled => {{INJECT_HERMES_ENABLED}},
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/../.."
)
Expand All @@ -41,7 +43,7 @@ end

target 'RNVApp-tvOS' do
config = use_native_modules!
platform :tvos, '{{PLUGIN_DEPLOYMENT_TARGET}}'
platform :tvos, '{{INJECT_PLUGIN_DEPLOYMENT_TARGET}}'

use_react_native!(
:path => config[:reactNativePath],
Expand All @@ -50,6 +52,8 @@ target 'RNVApp-tvOS' do
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => flipper_config,
# Hermes is now enabled by default. Disable by setting this flag to false.
:hermes_enabled => {{INJECT_HERMES_ENABLED}},
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/../.."
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ newArchEnabled={{NEW_ARCH_ENABLED}}

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled={{HERMES_ENABLED}}
hermesEnabled={{INJECT_HERMES_ENABLED}}

# ACTUALS
# HARDCODED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ newArchEnabled={{NEW_ARCH_ENABLED}}

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
hermesEnabled={{HERMES_ENABLED}}
hermesEnabled={{INJECT_HERMES_ENABLED}}

# ACTUALS
# HARDCODED
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-rn/templates/platforms/macos/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{PLUGIN_PODFILE_SOURCES}}
platform :ios, '{{PLUGIN_DEPLOYMENT_TARGET}}'
platform :ios, '{{INJECT_PLUGIN_DEPLOYMENT_TARGET}}'
use_frameworks!
{{PLUGIN_WARNINGS}}

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-android/src/gradleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ export const parseGradlePropertiesSync = (c: Context) => {
override: newArchEnabled ? 'true' : 'false',
},
{
pattern: '{{HERMES_ENABLED}}',
pattern: '{{INJECT_HERMES_ENABLED}}',
override: reactNativeEngine === 'hermes' ? 'true' : 'false',
},
{
Expand Down
4 changes: 2 additions & 2 deletions spec/other/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end

target 'RNVApp' do
config = use_native_modules!
platform :ios, '{{PLUGIN_DEPLOYMENT_TARGET}}'
platform :ios, '{{INJECT_PLUGIN_DEPLOYMENT_TARGET}}'



Expand All @@ -38,7 +38,7 @@ end

target 'RNVApp-tvOS' do
config = use_native_modules!
platform :tvos, '{{PLUGIN_DEPLOYMENT_TARGET}}'
platform :tvos, '{{INJECT_PLUGIN_DEPLOYMENT_TARGET}}'



Expand Down

0 comments on commit fe8aae0

Please sign in to comment.