diff --git a/modules/react-native-wallet/android/src/main/java/com/wallet/WalletPackage.kt b/modules/react-native-wallet/android/src/main/java/com/wallet/WalletPackage.kt index a52be638ef1f..107ff9835a9c 100644 --- a/modules/react-native-wallet/android/src/main/java/com/wallet/WalletPackage.kt +++ b/modules/react-native-wallet/android/src/main/java/com/wallet/WalletPackage.kt @@ -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 diff --git a/modules/react-native-wallet/react-native-wallet.podspec b/modules/react-native-wallet/react-native-wallet.podspec index a4997dd33065..c6bfbf3c02d1 100644 --- a/modules/react-native-wallet/react-native-wallet.podspec +++ b/modules/react-native-wallet/react-native-wallet.podspec @@ -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