From 6516df02b207c0eb5c727d55c36b0977ebedac02 Mon Sep 17 00:00:00 2001 From: Eduardo Borges Date: Sat, 15 Aug 2026 18:09:10 -0300 Subject: [PATCH 1/3] fix: use namespaced React header imports for react-native 0.87 React Native 0.87 removed the legacy bridge header search paths, so the quoted imports in LiquidGlassView.mm and LiquidGlassContainerView.mm no longer resolve. RCTImagePrimitivesConversions.h also moved under react/renderer/imagemanager. Switch all three to namespaced imports. --- ios/LiquidGlassContainerView.mm | 2 +- ios/LiquidGlassView.mm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ios/LiquidGlassContainerView.mm b/ios/LiquidGlassContainerView.mm index f1d55dc..691b29d 100644 --- a/ios/LiquidGlassContainerView.mm +++ b/ios/LiquidGlassContainerView.mm @@ -5,7 +5,7 @@ #import #import -#import "RCTFabricComponentsPlugins.h" +#import #if __has_include("LiquidGlass/LiquidGlass-Swift.h") #import "LiquidGlass/LiquidGlass-Swift.h" diff --git a/ios/LiquidGlassView.mm b/ios/LiquidGlassView.mm index 2cfc99b..3b47e59 100644 --- a/ios/LiquidGlassView.mm +++ b/ios/LiquidGlassView.mm @@ -4,10 +4,10 @@ #import #import #import -#import "RCTImagePrimitivesConversions.h" +#import -#import "RCTFabricComponentsPlugins.h" -#import "RCTConversions.h" +#import +#import #if __has_include("LiquidGlass/LiquidGlass-Swift.h") #import "LiquidGlass/LiquidGlass-Swift.h" From 0dd533d913c4a8ab918f501a9235c1ea9819506e Mon Sep 17 00:00:00 2001 From: Eduardo Borges Date: Sat, 15 Aug 2026 18:12:54 -0300 Subject: [PATCH 2/3] fix: keep pre-0.87 fallback for RCTImagePrimitivesConversions.h The header only moved to react/renderer/imagemanager in react-native 0.87, and the README supports 0.80+. Guard the new path with __has_include and fall back to the old quoted import. --- ios/LiquidGlassView.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/LiquidGlassView.mm b/ios/LiquidGlassView.mm index 3b47e59..a1b4628 100644 --- a/ios/LiquidGlassView.mm +++ b/ios/LiquidGlassView.mm @@ -4,7 +4,12 @@ #import #import #import +#if __has_include() +// react-native 0.87+ #import +#else +#import "RCTImagePrimitivesConversions.h" +#endif #import #import From 6b597eb6e0af0e385845ffdf8f315ca1a9e89eff Mon Sep 17 00:00:00 2001 From: Eduardo Borges Date: Mon, 17 Aug 2026 16:55:23 -0300 Subject: [PATCH 3/3] fix: drop __has_include guard, namespaced path exists since at least 0.80 React-ImageManager.podspec has header_dir react/renderer/imagemanager back to react-native 0.80, so the namespaced import resolves on the whole supported range and the conditional was dead weight. --- ios/LiquidGlassView.mm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ios/LiquidGlassView.mm b/ios/LiquidGlassView.mm index a1b4628..3b47e59 100644 --- a/ios/LiquidGlassView.mm +++ b/ios/LiquidGlassView.mm @@ -4,12 +4,7 @@ #import #import #import -#if __has_include() -// react-native 0.87+ #import -#else -#import "RCTImagePrimitivesConversions.h" -#endif #import #import