Skip to content

Does Hermes in React Native Windows v0.73 (with Fabric disabled) support Native Modules made in Paper? #13872

Closed Answered by shirakaba
shirakaba asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shirakaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant