Shake SDK wrapper

Usage no npm install needed!

<script type="module">
  import shakebugsReactNativeShake from 'https://cdn.skypack.dev/@shakebugs/react-native-shake';


Shake for React Native

Shake plugin for React Native.

How to use

Install Shake

Execute the npm install command in your terminal:

npm install @shakebugs/react-native-shake

If you are using a React Native version 0.60 or greater, you should also run add command:

react-native add-shake

If you are using a React Native version older than 0.60, you should instead run link command:

react-native link @shakebugs/react-native-shake

Install pods from the project root directory:

cd ios && pod install && cd ..

Start Shake

Call Shake.start() method in the index.js file.

import {AppRegistry} from 'react-native';
import App from './src/App';
import {name as appName} from './app.json';
import Shake from '@shakebugs/react-native-shake';

AppRegistry.registerComponent(appName, () => App);

Shake.start('client-id', 'client-secret');

Replace client-id and client-secret with the actual values you have in your workspace settings.


Visit documentation for more details.