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
- Replace contact writes with the platform intents ACTION_INSERT and ACTION_EDIT, and remove WRITE_CONTACTS.
- Request MANAGE_CONTACTS only if managing contacts is the app's core feature.
- 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 appReferences
Related checks (M6)
- PII in a response over a cacheable/first-party channel
- Supabase view in the public schema exposes auth.users
- Ads start before the user's consent (text search)
- Device/user PII sent to a third party
- Google Play restricted or sensitive permission
- Privacy manifest has invalid keys or values
- Missing Apple privacy manifest (PrivacyInfo.xcprivacy)
- Required-reason API used without a declared reason