I am new in react-native development. How we can get package name in react-native
. Does anyone have any ideas?
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
Hey you can use the package device info https://www.npmjs.com/package/react-native-device-info
and use it like this , its a pretty well maintained library
Or you can check this library for package name rn-check
You can do it with simple lib Version Check
Just run
VersionCheck.getPackageName()