Skip to content

bokuhe/react-native-app-security

Repository files navigation

react-native-app-security

Verify app integrity and device security! This package wraps RootBeer and IOSSecuritySuite for use in React Native.

Feature

Installation

npm install @sleiv/react-native-app-security

or

yarn add @sleiv/react-native-app-security

Usage

import { AppSecurity } from '@sleiv/react-native-app-security';

// root check
const isRooted = await AppSecurity.isDeviceRooted();

// debug check
const isDebugEnabled = await AppSecurity.isDebugEnabled();

// fingerprint check (android only)
const fingerprints = ['...']
const isIncorrectFingerprint = await AppSecurity.isIncorrectFingerprint(fingerprints)

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Dependencies


Made with create-react-native-library