From c7a76b053fbfcd2bdcc9dfec1d325d9266042ff8 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Mon, 16 Sep 2024 17:33:48 +0200 Subject: [PATCH] Update HybridObjectRegistry.cpp --- .../cpp/registry/HybridObjectRegistry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native-nitro-modules/cpp/registry/HybridObjectRegistry.cpp b/packages/react-native-nitro-modules/cpp/registry/HybridObjectRegistry.cpp index bfbe9dec0..62fad67e9 100644 --- a/packages/react-native-nitro-modules/cpp/registry/HybridObjectRegistry.cpp +++ b/packages/react-native-nitro-modules/cpp/registry/HybridObjectRegistry.cpp @@ -65,6 +65,7 @@ std::shared_ptr HybridObjectRegistry::createHybridObject(const std "- If you use Nitrogen, make sure your library (*Package.java)/app (MainApplication.java) calls " "`System.loadLibrary(\"<>\")` somewhere on app-startup.\n" "- If you use Nitrogen, make sure your cpp-adapter.cpp calls `margelo::nitro::<>::initialize(vm)`.\n" + "- If you use Nitrogen, inspect the generated `<>OnLoad.cpp` file.\n" "- If you don't use Nitrogen, make sure you called `HybridObjectRegistry.registerHybridObject(...)`.\n"; throw std::runtime_error(message); }