Error when Accessing Native Module in React Native
complete
M
Meet
Hello Adapty community,
I hope you're all doing well. I'm currently facing an issue in my React Native application, and I could use some guidance.
I'm encountering the following error:
TypeError: null is not an object (evaluating 'react_native_1.NativeModules[bridge_1.MODULE_NAME][bridge_1.HANDLER_NAME]')
This error occurs when I'm trying to access a native module within my React Native app. I've double-checked the module's existence and initialization, but I'm still facing this issue.
I would greatly appreciate any insights or suggestions on how to resolve this error. If you have any experience with similar issues or can point me in the right direction for troubleshooting, I'd be very grateful.
Thank you in advance for your help.
Best regards,
Meet
Adapty Support
complete
V
Vanya
Hey! Creator of this library here. I will be able to test it today a little later, but can I ask you to share any more info on your setup?
Is it expo or bare?
iOS or Android currently?
How have you done linking? <- This is most likely the problem here