-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_TurboModuleRegistry.default.getEnforcing #28
Comments
hello. p.s. the whole ChangeLogs are here!! |
Hi again @AndrewDongminYoo.
But this time i get this error when I try to use any methods. Last time I was getting this error directly when i was importing the package. Thank you for your help with those problems! |
@AndrewDongminYoo any updates? |
TurboModule
Hi, I want to try your library but I'm having some problems making it run on multiple projects.
ERROR TypeError: Cannot read property 'getEnforcing' of undefined, js engine: hermes
ERROR TypeError: undefined is not an object (evaluating '_TurboModuleRegistry.default.getEnforcing')
I tried only on the Android with the:
newArchEnabled=false
hermesEnabled=true
"@dongminyu/react-native-step-counter": "^0.1.16",
"react-native": "0.71.7", also on another project with "react-native": "0.71.8",
So the project is running and is not throwing any error until I import this library into a file.
And from the errors that I saw, I think that all are related to this: export default TurboModuleRegistry.getEnforcing('RNStepCounter') as Spec;
I tried to clean everything possible and since the project is running I don't think that is a link problem.
From what I read on react-native Turbo Native Modules is working only with the new architectures. And I see that you mentioned on README that
library compatible with both new and legacy architectures
Can you please help me?
The text was updated successfully, but these errors were encountered: