0.0.1 • Published 6 years ago

react-native-detect-device v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

react-native-detect-device

About

The class was written to simplify the process of determining what platform was currently running.

Install

npm install react-native-detect-device --save

Usage

Import into a project file:

Require Import: const Device = require('react-native-device-detection');

ES6 Modules: import { isAndroid } from 'react-native-device-detection;

You can also use it anywhere else in your code where you need to differentiate between platforms.

Available props:

  • pixelDensity
  • width
  • height
  • isIos
  • isAndroid
  • isPhone
  • isTablet
  • isIphoneX
0.0.1

6 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago