Skip to content

Commit

Permalink
fix ios plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Jun 30, 2024
1 parent a5b31e8 commit 6a11450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/build/withV8ExpoAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const withIosAppDelegate = (config) => {
config.modResults.contents = updateIosAppDelegate50(config.modResults.contents);
}
else {
config.modResults.contents = updateIosAppDelegate50(config.modResults.contents);
config.modResults.contents = updateIosAppDelegate(config.modResults.contents);
}
}
else {
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/withV8ExpoAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const withIosAppDelegate: ConfigPlugin = (config) => {
if (config.sdkVersion && semver.lt(config.sdkVersion, '51.0.0')) {
config.modResults.contents = updateIosAppDelegate50(config.modResults.contents);
} else {
config.modResults.contents = updateIosAppDelegate50(config.modResults.contents);
config.modResults.contents = updateIosAppDelegate(config.modResults.contents);
}
} else {
throw new Error(
Expand Down

0 comments on commit 6a11450

Please sign in to comment.