npm install command in your terminal:
If you use React Native version 0.60 or greater, you should also run the
If you use React Native version lower than 0.60, you should run the
link command instead:
Install pods from the project root directory:
After the installation also run
pod update Shake to be perfectly sure you're using the latest Shake .
Set compileSdkVersion version in the build.gradle file
Since Shake requires
compileSdkVersion 29 or greater, verify that
compileSdkVersion is correctly set in the /android/build.gradle file.
Shake.start() method in your index.js file.
your-api-client-secret with the actual values you have in your workspace settings.
Now build your project and see everything work!
To build and run your app, first run
react-native start command in the terminal.
react-native run-android command to run your app on the Android device.
react-native run-ios command to run your app on the iOS device.
This first run will automatically add your app to your Shake Dashboard based on your app application ID.