Inspired by https://github.com/jodybrewster/react-native-linkedin-login You check all of complete source code diff at here
First, make sure your initial react-native app has installed properly and running on device.
install package via npm
npm install react-native-linkedin-login --save
Modify RNLinkedinLoginModule.java and RNLinkedinLoginPackage.java at Android Studio
Modify android/settings.gradle
You can basically follow a above(react-native-linkedin-login) github link, but you have to modify a path to set actual react-native-linkedin-login module’s path
Add onActivityResult() on MainActivity.java
See diff
Modify getPackages() on MainApplication.java
See diff
Import LinkedinLogin.js
Copy node_modules/react-native-linkedin-login/src/LinkedinLogin.js and create new folder under the root path name with ‘component’ and past it into a new file.( component/LinkedinLogin.js )
Use LinkedinLogin.js on index.android.js to integrate with LinkedIn
See diff
You’re done!