Skip to content

Commit

Permalink
Update HybridObjectRegistry.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent c7a76b0 commit 7aff5d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ std::shared_ptr<HybridObject> HybridObjectRegistry::createHybridObject(const std
"`System.loadLibrary(\"<<androidCxxLibName>>\")` somewhere on app-startup.\n"
"- If you use Nitrogen, make sure your cpp-adapter.cpp calls `margelo::nitro::<<cxxNamespace>>::initialize(vm)`.\n"
"- If you use Nitrogen, inspect the generated `<<androidCxxLibName>>OnLoad.cpp` file.\n"
"- If you don't use Nitrogen, make sure you called `HybridObjectRegistry.registerHybridObject(...)`.\n";
"- If you don't use Nitrogen, make sure you called `HybridObjectRegistry.registerHybridObject(...)`.";
throw std::runtime_error(message);
}
std::shared_ptr<HybridObject> instance = fn->second();
Expand Down

0 comments on commit 7aff5d0

Please sign in to comment.