Need help with NativeModule setup in jitsi react-native

I have created a custom package after cloning jitsi-meet and added it to react-native android app also created MainApplication.java so that package will be used in js code.

Issue: Whenever I try to access methods of my module it’s saying the imported module is null. cannot access “methodName” of null.

Is there any specific setup that needs to be done to access NativeModule?

Mobile: AndroidX
OS: Linux, Ubuntu