Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@shakebugs/react-native-shake

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shakebugs/react-native-shake

Shake SDK wrapper

Source
npmnpm
Version
17.0.1
Version published
Weekly downloads
3.9K
-38.8%
Maintainers
1
Weekly downloads
 
Created
Source

Shake React Native SDK

npm version

React Native plugin for bug reporting.

Features

FeatureAvailable
Bug reporting
Crash reporting
Users

Requirements

PlatformVersion
React Native0.56
Android5.0
iOS12.0

How to use

Install Shake

Execute the npm install command in your terminal:

npm install @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, Platform} 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);

const apiKey = Platform.OS === 'ios' ? 'ios-app-api-key' : 'android-app-api-key';
Shake.start(apiKey);

Replace ios-app-api-key and android-app-api-key with the actual values you have in your app settings.

Resources

  • Official docs

Keywords

shakebugs

FAQs

Package last updated on 09 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts