Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Is android.permission.GET_TASKS required? #671

Open
@calvarez-ov

Description

@calvarez-ov

When upgrading from mapbox android sdk 9.6.0 -> 9.6.1, we see a new permission added to our mainfest: android.permission.GET_TASKS.

It appears this is part of the transitive telemetry upgrade (from 6.2.0 to 6.2.2).

The permission was added in this commit: mapbox/mapbox-events-android@f91ccf3

[telemetry] Add foreground/background information to location events.

Our app has minSdkVersion of 23.

Do we need this permission? What will be the consequence if we remove it?

Note that the documentation for this permission says it's deprecated, as of android api level 21:
https://developer.android.com/reference/android/Manifest.permission#GET_TASKS

This constant was deprecated in API level 21.
No longer enforced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions