Skip to main content

Allow Device Data


caution

This is an clientside feature. If you want to disable this feature, you can use allowDeviceData option.

If you want to send device data with your logs, you can use this option. You can view each batch's device data by clicking View Batch on any log inside the Nexys dashboard.

OptionTypeDefault
allowDeviceDatabooleantrue

Example

// This code will disable device data feature.
const nexys = new Nexys("API_KEY", {
appName: "APP_NAME",
allowDeviceData: false
});

This feature will send these following data to dashboard:

  • Platform
  • Language
  • Vendor
  • Device Memory (up to 8GB)
  • Device Model
  • User Agent
  • Screen Resolution
  • Battery Data
  • Connection (Wifi, Cellular)