diff --git a/android/app/build.gradle b/android/app/build.gradle index a2adbd4..6ed25c1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -238,4 +238,4 @@ task copyDownloadableDepsToLibs(type: Copy) { into 'libs' } -apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) +apply from: file("../../node_modules/react-native/node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) diff --git a/android/settings.gradle b/android/settings.gradle index 9ef10a6..7146a6b 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,4 +1,5 @@ rootProject.name = 'drip' -apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) + +apply from: file("../node_modules/react-native/node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':app' diff --git a/ios/Podfile b/ios/Podfile index 1ec901f..a7ade13 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ platform :ios, '11.0' -require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' +require_relative '../node_modules/react-native/node_modules/@react-native-community/cli-platform-ios/native_modules' def add_flipper_pods! version = '~> 0.74.0'