Skip to content

Android battery permission issue #377

@rahul-sysquare

Description

@rahul-sysquare

Specify the sample to which the issue belongs (use [x]):
[X] P2P Calls sample
[X] Conference Calls sample

Platform (use [x])
[X] Android

Describe the bug:
In Manifest file this permission is declared REQUEST_IGNORE_BATTERY_OPTIMIZATIONS and according to google this is a dangerous permission and the app can be banned.

Expected behavior:
P2P calls and Conference calls should work without this permission (REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) because other voip and video call apps are not asking for this permission. We checked Viber, Whatsapp, Skype all are working without this permission. Look at below articles

Stackoverflow

How to handle this permission is in this document by google
https://developer.android.com/training/monitoring-device-state/doze-standby#exemption-cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions