Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ratson/react-native-firebase-test-lab
- Owner: ratson
- Created: 2018-11-27T00:55:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T13:15:09.000Z (over 4 years ago)
- Last Synced: 2024-11-22T00:48:32.793Z (about 2 months ago)
- Topics: firebase, react-native
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")
}
```