From 88e62c6f711784b61a1952b94c8fb801081e59cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 24 Jul 2024 17:25:48 +0200 Subject: [PATCH 1/3] Update RealmReactModule.mm to avoid including an unused header This fixes https://github.com/realm/realm-js/issues/6808 --- packages/realm/binding/apple/RealmReactModule.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/realm/binding/apple/RealmReactModule.mm b/packages/realm/binding/apple/RealmReactModule.mm index f2fe199c17..f1a4b772b9 100644 --- a/packages/realm/binding/apple/RealmReactModule.mm +++ b/packages/realm/binding/apple/RealmReactModule.mm @@ -21,7 +21,6 @@ #import #import #import -#import #import #import From bf9ad852a0b1ec5f2ff4d9aa1acebc2223b923c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Thu, 25 Jul 2024 13:05:26 +0200 Subject: [PATCH 2/3] Update RealmReactModule.java to avoid importing an unused class --- .../android/src/main/java/io/realm/react/RealmReactModule.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/realm/binding/android/src/main/java/io/realm/react/RealmReactModule.java b/packages/realm/binding/android/src/main/java/io/realm/react/RealmReactModule.java index 7700e34405..e39dcb4cc7 100644 --- a/packages/realm/binding/android/src/main/java/io/realm/react/RealmReactModule.java +++ b/packages/realm/binding/android/src/main/java/io/realm/react/RealmReactModule.java @@ -24,7 +24,6 @@ import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; -import com.facebook.react.internal.featureflags.ReactNativeFeatureFlags; import com.facebook.react.module.annotations.ReactModule; import com.facebook.react.turbomodule.core.interfaces.CallInvokerHolder; import com.facebook.soloader.SoLoader; From 130972829c5952e33fa1113ab25627f2e358e57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Thu, 25 Jul 2024 13:07:41 +0200 Subject: [PATCH 3/3] Adding a note to the changelog --- CHANGELOG.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ae05c2dbf..0a8bfcc5d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,7 @@ * None ### Fixed -* ([#????](https://github.com/realm/realm-js/issues/????), since v?.?.?) -* None +* Fixed compiler error when building binding for React Native iOS: "'React-featureflags/react/featureflags/ReactNativeFeatureFlags.h' file not found" ([#6808](https://github.com/realm/realm-js/issues/6808), since v12.12.0) ### Compatibility * React Native >= v0.71.4 @@ -16,9 +15,7 @@ * File format: generates Realms with format v24 (reads and upgrades file format v10). ### Internal - - - +* Removed an unused import in the binding for React Native Android. ([#6808](https://github.com/realm/realm-js/issues/6808), since v12.12.0) ## 12.12.0 (2024-07-23)