From d598e6d6c54fff031fc6a8e0b609cf558222e0ee Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin Date: Mon, 15 Aug 2022 16:51:45 +0200 Subject: [PATCH] Fix path to the cli --- android/app/build.gradle | 2 +- android/settings.gradle | 3 ++- ios/Podfile | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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'