From 2593ab16f517a2f890daeabb584f1624a5a8d6d9 Mon Sep 17 00:00:00 2001 From: John Lianoglou Date: Mon, 18 Jul 2022 19:31:22 -0400 Subject: [PATCH] fix: update import of RCTBridge.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Frankly, I don't know what drives the need for this change, but after updating React Native a project consuming this library from v0.64.2 to v0.68.2, the dependency failed to build until I applied this change with an error message that read, in part "property has a previous declaration".. Some internet searching for this error message eventually got me to [this GitHub issue](https://github.com/mauron85/react-native-background-geolocation/issues/31) for a wholly-unrelated React Native project. This small changed allowed the project to build, so here I am applying it. 😅 --- ios/RNConfigReader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RNConfigReader.h b/ios/RNConfigReader.h index cf9c811..96ac406 100644 --- a/ios/RNConfigReader.h +++ b/ios/RNConfigReader.h @@ -1,5 +1,5 @@ #if __has_include("RCTBridgeModule.h") -#import "RCTBridgeModule.h" +#import "React/RCTBridge.h" #else #import #endif