Skip to content

Crashes on Android 7 #1362

Description

@MaeIg

Datadog uses kotlin.time.Duration in one file in the codebase.

This API is only available from API level 26, as documented here.

Some of our devices are still running on Android 7 (API level 24), so we patched the lib to remove the usage of Duration :
Image

I believe this patch should be made in this repo because the gradle.properties file sets the minSdkVersion to 23, and the fix is easy to integrate.

I would be happy to open a PR if it is ok for you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions