diff --git a/packages/react-native-nitro-image/nitrogen/generated/android/NitroImageOnLoad.cpp b/packages/react-native-nitro-image/nitrogen/generated/android/NitroImageOnLoad.cpp index 0011713a1..b2104a502 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/android/NitroImageOnLoad.cpp +++ b/packages/react-native-nitro-image/nitrogen/generated/android/NitroImageOnLoad.cpp @@ -59,7 +59,7 @@ int initialize(JavaVM* vm) { margelo::nitro::image::JHybridBaseSpec::registerNatives(); margelo::nitro::image::JHybridChildSpec::registerNatives(); margelo::nitro::image::JHybridTestViewSpec::registerNatives(); - #if REACT_NATIVE_VERSION >= 78 + #if REACT_NATIVE_VERSION_MINOR >= 78 margelo::nitro::image::views::JHybridTestViewStateUpdater::registerNatives(); #endif diff --git a/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.cpp b/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.cpp index 81e414a24..ef73cf552 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.cpp +++ b/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.cpp @@ -5,9 +5,10 @@ /// Copyright © 2025 Marc Rousavy @ Margelo /// -#if REACT_NATIVE_VERSION >= 78 - #include "JHybridTestViewStateUpdater.hpp" +#include +#if REACT_NATIVE_VERSION_MINOR >= 78 + #include "views/HybridTestViewComponent.hpp" namespace margelo::nitro::image::views { diff --git a/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.hpp b/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.hpp index 34d8d325f..444c63ee9 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.hpp +++ b/packages/react-native-nitro-image/nitrogen/generated/android/c++/views/JHybridTestViewStateUpdater.hpp @@ -7,7 +7,8 @@ #pragma once -#if REACT_NATIVE_VERSION >= 78 +#include +#if REACT_NATIVE_VERSION_MINOR >= 78 #include #include diff --git a/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/HybridTestViewComponent.mm b/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/HybridTestViewComponent.mm index 1f857f3dd..9e8b08a18 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/HybridTestViewComponent.mm +++ b/packages/react-native-nitro-image/nitrogen/generated/ios/c++/views/HybridTestViewComponent.mm @@ -5,9 +5,10 @@ /// Copyright © 2025 Marc Rousavy @ Margelo /// -#if REACT_NATIVE_VERSION >= 78 - #import "HybridTestViewComponent.hpp" +#include +#if REACT_NATIVE_VERSION_MINOR >= 78 + #import #import #import diff --git a/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.cpp b/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.cpp index cc037734b..5edf6d43a 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.cpp +++ b/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.cpp @@ -5,9 +5,10 @@ /// Copyright © 2025 Marc Rousavy @ Margelo /// -#if REACT_NATIVE_VERSION >= 78 - #include "HybridTestViewComponent.hpp" +#include +#if REACT_NATIVE_VERSION_MINOR >= 78 + #include #include #include diff --git a/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.hpp b/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.hpp index e1cb50947..c6faca731 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.hpp +++ b/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/HybridTestViewComponent.hpp @@ -7,10 +7,10 @@ #pragma once -#if REACT_NATIVE_VERSION >= 78 +#include +#if REACT_NATIVE_VERSION_MINOR >= 78 #include -#include #include #include #include @@ -98,5 +98,5 @@ namespace margelo::nitro::image::views { } // namespace margelo::nitro::image::views #else - #warning "View Component 'HybridTestView' will be unavailable in React Native, because it requires React Native 78 or higher." +#warning "View Component 'HybridTestView' will be unavailable in React Native, because it requires React Native 78 or higher." #endif diff --git a/packages/react-native-nitro-modules/cpp/entrypoint/HybridNitroModulesProxy.hpp b/packages/react-native-nitro-modules/cpp/entrypoint/HybridNitroModulesProxy.hpp index e7afd1399..654528ef2 100644 --- a/packages/react-native-nitro-modules/cpp/entrypoint/HybridNitroModulesProxy.hpp +++ b/packages/react-native-nitro-modules/cpp/entrypoint/HybridNitroModulesProxy.hpp @@ -11,7 +11,6 @@ #include "HybridObject.hpp" #include #include -#include namespace margelo::nitro {