1.0.7 • Published 6 months ago

react-native-detect-maestro v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

react-native-detect-maestro

react-native-detect-maestro on npm react-native-detect-maestro downloads react-native-detect-maestro install size CI E2E

Use this library to detect React Native App is running within the context of Maestro. (based on: https://maestro.mobile.dev/advanced/detect-maestro-in-your-app)

  • support React Native's New & Old Architecture

Getting started

yarn add react-native-detect-maestro
# or
npm install react-native-detect-maestro

# and then
npx pod-install

⚠️ Note: if you are using React Native 0.72.x you need to add use_modular_headers! in your ios/Podfile .

Usage

import {DetectMaestro} from 'react-native-detect-maestro';

DetectMaestro.isMaestro() // true or false

Compatible table

  • Android
    • New Architecture (react-native 0.70+)
    • Old Architecture (react-native 0.65+)
  • iOS
    • New Architecture (react-native 0.70+)
    • Old Architecture (react-native 0.65+)

License

MIT

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0-alpha.1

9 months ago

1.0.0

10 months ago