Skip to content

DataDog crashing with directBootAware-"true" attribute #1116

Description

@BBaleilevuka

direct_boot_aware_work_manager_crash.log
Thanks for taking the time for reporting an issue!

Describe what happened

  • When using DataDog Log reporting in a directBootAware="true" application, the WorkManager inside the DataDog SDK isn't permitted to run before the device in unlocked.
  • Our Application is running on boot-up and is used on the lock-screen to unlock the device.

Steps to reproduce the issue:

  • Create an Android application.
  • In the manifest file add the android:directBootAware="true" flag
  • Run the application

Describe what you expected:

  • Datadog can be used within a directBootAware application without crashing.

Additional context

  • Android OS version: AOSP 11(non-gms)
  • Device Model: RealWear Navigator 500
  • Datadog SDK version: 1.14.1
  • Versions of any other relevant dependencies (OkHttp, …): androidx.appcompat:appcompat:1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting-for-infoWaiting for additional info from reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions