Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.32 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.32 KB

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