Skip to content

Commit

Permalink
Adjusted podspec and WalletPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
zfurtak committed Dec 20, 2024
1 parent 05149c5 commit e8f9578
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ class WalletPackage : TurboReactPackage() {
moduleInfos[WalletModule.NAME] = ReactModuleInfo(
WalletModule.NAME,
WalletModule.NAME,
canOverrideExistingModule = false,
needsEagerInit = false,
hasConstants = true,
isCxxModule = false,
false,
false,
false,
isTurboModule
)
moduleInfos
Expand Down
7 changes: 1 addition & 6 deletions modules/react-native-wallet/react-native-wallet.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm,cpp}"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
if respond_to?(:install_modules_dependencies, true)
install_modules_dependencies(s)
else
s.dependency "React-Core"
s.dependency "React-Core"

# Don't install the dependencies when we run `pod install` in the old architecture.
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
Expand Down

0 comments on commit e8f9578

Please sign in to comment.