Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ratson/react-native-firebase-test-lab

Check if the app is running on Firebase test device.
https://github.com/ratson/react-native-firebase-test-lab

firebase react-native

Last synced: about 1 month ago
JSON representation

Check if the app is running on Firebase test device.

Awesome Lists containing this project

README

        

# react-native-firebase-test-lab

Check if the app is running on Firebase test device.

## Installation

`npm install react-native-firebase-test-lab --save`

or

`yarn add react-native-firebase-test-lab`

Auto-Linking is supported on react-native v0.60.0 and above.

### For react-native 0.59.x or below

`react-native link react-native-firebase-test-lab`

## Usage

```js
import { isTestDevice } from 'react-native-firebase-test-lab';

if (await isTestDevice()) {
console.log("Running on test device")
}
```