react-native-bluestacks-detector
v0.1.3
Published
[](LICENSE)
Maintainers
Readme
react-native-bluestacks-detector
A lightweight React Native module to detect if your Android app is running inside BlueStacks emulator.
Useful for anti-fraud, licensing, or restricting emulator access.
✨ Features
- ✅ Detects BlueStacks on Android by checking known system paths.
- ✅ Simple API (
isBlueStacks()returns a boolean Promise). - ✅ Works with React Native autolinking (>=0.60).
- ✅ Written in Kotlin for clean, modern Android integration.
- ⚠️ Android-only (returns
falseon iOS).
📦 Installation
# with npm
npm install react-native-bluestacks-detector
# or with yarn
yarn add react-native-bluestacks-detector
Usage :
import BlDetect from 'react-native-bluestacks-detector';
async function check() {
const isBluestacks = await BlDetect.isBlueStacks();
console.log('Running on BlueStacks?', isBluestacks);
}