Normally, linking is done automatically or using link command. If you want to link it manually, you can do it following way.
Add the following lines of code to your settings.gradle file:
Then, include the following dependency to app-level build.gradle file:
If you do not have multiDexEnabled, update app level build.gradle:
Enable touch tracking in Android apps by adding following code to the MainActivity.java:
Open your project in the Xcode by clicking project's .xcodeproj file.
Copy RNShake.xcodeproj from $rootDir/node_modules/@shakebugs/react-native-shake/ios/ to the Libraries folder of your project.
Drag the libRNShake.a from the Library Products folder to the Link Binary With Libraries in the Build Phases section.