0.1.5 • Published 3 years ago

react-native-sdk-iuviprofiler v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-sdk-iuviprofiler

This library allows us to create a communication bridge between ReactNative and the iuviPROFILER SDK to obtain device information.

Installation

npm install react-native-sdk-iuviprofiler

Usage

import { deviceInfo } from '@modyolabs/react-native-sdk-iuviprofiler';
// ...

const device = await deviceInfo();

Resolve

{
  "Geolocation" : {
    "heading" : number,
    "altitudeAccuracy" : number,
    "speed": number,
    "locationDataStatus" : number,
    "longitude" : number,
    "isp": string,
    "latitude": number,
    "city" : string,
    "postalCode" : number,
    "region": string,
    "altitude" : number,
    "country" : string,
    "zipCode" : number,
    "horizontalAccuracy" : number
  },
  "Device" : {
    "imsi": string,
    "deviceOs" : string,
    "hostName" : string,
    "kernel" : string,
    "serialNumber": number,
    "deviceId" : string,
    "deviceModel" : string,
    "imei": string,
    "deviceBrand" : string,
    "operativeSystem" : string,
    "isDeviceRoot" : string,
    "isEmulator" : string,
    "operativeSystemId" : string
  },
  "Identifiers" : {
    "hash" : string,
    "userPattern": string,
    "hashServer": string
  },
  "Network": {
    "privateIp" : string,
    "mcc" : string,
    "mnc" : string,
    "networkCode" : string,
    "celId" : string,
    "carrierName" : string,
    "macAddress" : string,
    "detectNetwork" : string,
    "allowIp" : string,
    "countryCode" : number,
    "isoCountryCode" : string
  },
  "Sensors" : {
    "nfc" : string,
    "deviceOrientation" : string,
    "devicePosition" : string,
    "devicePressureByPoint" : string,
    "stepCounter" : string,
    "bluetooth" : string,
    "accelerometer" : string,
    "gyroscope" : string,
    "devicePressure" : string,
    "deviceMotion" : string
  },
  "WiFiNetworksData" : {
    "ipAddress" : string,
    "bbsid" : string,
    "channel" : string,
    "ssid": string,
    "signalStrength" : number,
    "stationName" : string
  },
  "General" : {
    "processorCount" : number,
    "geolocation" : string,
    "screenResolution" : string,
    "hardwareSerial" : string,
    "voiceMailerNumber": string,
    "packageName" : string,
    "appName" : string,
    "language" : string,
    "appAction" : string,
    "appVersion" : string,
    "certificateID": string,
    "phoneNumber" : string,
    "typeAuthentication" : string
  },
  "DeviceInfo" : {
    "locationAreaCode": string,
    "deviceMultitaskingSupported" : boolean,
    "wiFiMACAddress" : string,
    "msTimeStamp" : string,
    "deviceSystemVersion" : string,
    "timeStamp" : string,
    "applicationKey" : string
  }
};

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library