-
I've made a Paper native module named The problem I'm finding is that my native module only registers itself onto the Does Hermes for RNW not support Paper native modules or something? Is there any way to get them working without updating React Native? Just that I'd like to avoid updating if I can as it may cost a lot of time, particularly as I'd have to update React Native macOS and I assume I'd have migrate all my native modules to Fabric. Possibly related:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Very surprised to find that the suggestion in #12521 fixes it: - import { NativeModules } from "react-native";
- NativeModules.ReactNativeAppAuthJs.authenticate(/* ... */);
+ import { TurboModuleRegistry } from "react-native";
+ TurboModuleRegistry.get("ReactNativeAppAuthJs").authenticate(/* ... */); My module isn't a TurboModule (there's no codegen, for example) so I'm surprised to find that it's registered into the TurboModuleRegistry. |
Beta Was this translation helpful? Give feedback.
Very surprised to find that the suggestion in #12521 fixes it:
My module isn't a TurboModule (there's no codegen, for example) so I'm surprised to find that it's registered into the TurboModuleRegistry.