medium · M6 · MASVS-PRIVACY-1 · PTKD-REVIEW-PLAY-MANAGE-CONTACTS

    Writing contacts on Android 18 needs MANAGE_CONTACTS and a Play declaration

    The app targets Android 18 (API 38) or later and writes contacts. At this target WRITE_CONTACTS no longer lets an app create, modify or delete contacts and the system does not show its request; the MANAGE_CONTACTS permission replaces it, allowed only when the platform intents for creating and editing contacts are not enough, and from 25 August 2027 it needs a Play Console declaration.

    How it is exploited

    Not an attack: a business card scanner requests WRITE_CONTACTS to save each card. At Android 18 the permission no longer writes anything, so saving fails silently, while the platform insert intent would save the card without any permission and without a declaration.

    Why it matters

    Contacts that are no longer saved on Android 18, and from 25 August 2027 a rejected update when MANAGE_CONTACTS is requested without a declaration.

    How to fix it

    1. Replace contact writes with the platform intents ACTION_INSERT and ACTION_EDIT, and remove WRITE_CONTACTS.
    2. Request MANAGE_CONTACTS only if managing contacts is the app's core feature.
    3. Complete the MANAGE_CONTACTS declaration in Play Console and cover contacts in the privacy policy and Data safety form.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-PLAY-MANAGE-CONTACTS and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M6)