I’ve existing android native app and converted that app to react native and added native modules in it. but in react native, native module is showing as ‘null’.
How I can achieve this?
I’ve existing android native app and converted that app to react native and added native modules in it. but in react native, native module is showing as ‘null’.
How I can achieve this?
2
Answers
Found solution. React package was missing in package.json file. installed the react latest version
Follow the following link for android native modules docs to help in making native modules for android, it may be lead to success.
https://reactnative.dev/docs/native-modules-android