1.0.7 • Published 1 year ago

react-native-detect-maestro v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0-alpha.1

2 years ago

1.0.0

2 years ago