react-native-device-info-utils
v1.0.3
Published
A React Native package to retrieve device information including design language, timezone, IP address, location, mobile company, device model, and OS details.
Downloads
6
Readme
React Native Device Info Package
A React Native package to retrieve device information including design language, timezone, IP address, location, mobile company, device model, and OS details.
Installation
npm install react-native-device-info-utils
Usage
import getDeviceInfo from 'react-native-device-info-utils';
const deviceInfo = await getDeviceInfo();
console.log(deviceInfo);
Permission for location Usage
import { requestLocationPermission } from 'react-native-device-info-utils';
const isLocationPermissionGranted = await requestLocationPermission();