var React = require('react');
var { Dimensions } = require('react-native');

var device = Dimensions.get('window');
var scale;

if (device.width <= 414) {
    //Android smartphones
    scale = device.width / 414;
} else{
    //Android tablets
    scale = 1;
}

module.exports = { scale: scale };


{'avg_line_length': 17.470588235294116, 'max_line_length': 45, 'alphanum_fraction': 0.6296296296296297, 'licenses': ['MIT'], 'repository_name': 'mspvirajpatel/React-Components', 'path': 'component/ResponsiveImage/device.android.js', 'size': 297, 'lang': 'JavaScript'}