Skip to content

Feat: Do not require android.permission.WRITE_CONTACTS #119

@qliqdev

Description

@qliqdev

Is your feature request related to a problem? Please describe.
As we can see in plugin initialization code

@CapacitorPlugin(
    name = "Contacts",
    permissions = { @Permission(strings = { Manifest.permission.READ_CONTACTS, Manifest.permission.WRITE_CONTACTS }, alias = "contacts") }
)

Plugin requires Manifest.permission.WRITE_CONTACTS. that's why Google Play always throw annoying warning before publising release
image

Describe the solution you'd like
Permissions should be configurable by client side.

Describe alternatives you've considered
It would be better if we could configure permissions in capasitor.confit.ts or when calling requestPermissions method

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