Storage

This article describes the different device-level properties captured when using the Braze Android SDK.

Device Properties

By default, Braze will collect the following device-level properties to allow device, language, and time zone-based message personalization:

  • AD_TRACKING_ENABLED
  • ANDROID_VERSION
  • CARRIER
  • GOOGLE_ADVERTISING_ID
  • IS_BACKGROUND_RESTRICTED
  • LOCALE
  • MODEL
  • NOTIFICIATION_ENABLED
  • RESOLUTION
  • TIMEZONE

You can disable or specify the properties you wish to collect by setting them using BrazeConfig.Builder.setDeviceObjectAllowlistEnabled() and BrazeConfig.Builder.setDeviceObjectAllowlist().

The following example showcases allowlisting the device object to only include the Android OS version and device locale in the device object:

1
2
3
  new BrazeConfig.Builder()
      .setDeviceObjectAllowlistEnabled(true)
      .setDeviceObjectAllowlist(EnumSet.of(DeviceKey.ANDROID_VERSION, DeviceKey.LOCALE));

By default, all fields are enabled. Note that without some properties, not all features will function properly. For instance, without the time zone, local time zone delivery will not function.

To read more about the automatically collected device properties, visit our SDK Data Collection Options article.

WAS THIS PAGE HELPFUL?
New Stuff!