Did an app access your contacts? Android will show a "no" and ask for permissions.

Depov

Moderator
Staff member
MODERATOR
ULTIMATE
SUPREME
PREMIUM
MEMBER
Joined
Feb 18, 2025
Messages
790
Reaction score
1,510
Android apps will be blocked from silently overwriting your phone book using the usual permission. Google announced new rules for working with contacts, which will be implemented in the 2027 release of the operating system. Apps designed for the new version of Android will no longer be able to directly add or modify entries using the WRITE_CONTACTS permission.

Currently, WRITE_CONTACTS allows you to save a single number and change multiple entries in the background without the smartphone owner's intervention. Even a business card scanner or delivery service can request broad access for a single action. Google will replace this scheme with system forms where the user manually confirms adding or editing a contact.

Developers will be able to call ACTION_INSERT to create records, ACTION_EDIT to edit records, and ACTION_INSERT_OR_EDIT to select between a new and existing contact. Android will open a standard window with predefined fields, and the app will not be granted direct write access. The form can be maximized to full screen, and the number, name, and other information can be verified before saving.

Google is unifying the editor's behavior across devices from different manufacturers. Previously, system forms sometimes lost uploaded photos or saved contacts when pressing the back button. The new version will allow uploading photos via EXTRA_PHOTO_URI and suggesting an account for saving. Manufacturers will retain the same interface design, but will be required to adhere to uniform rules. For apps that only need information about specific people, Android 17 already supports contact selection via the Contact Picker. The system window allows users to select numbers or addresses instead of accessing the entire contact list. The new policy applies to a different operation: writing and editing, so it doesn't remove the READ_CONTACTS permission for apps with a legitimate need to read contacts.

An exception is provided for apps that need to manage the address book without constant confirmation. The MANAGE_CONTACTS permission will be available to contact managers, enterprise synchronization systems, and backup tools. The user will need to enable special access in Android settings, and the developer will need to justify the need to Google Play.

The new MANAGE_CONTACTS will appear in Android 17 QPR2 by the end of 2026, while the WRITE_CONTACTS restriction is planned for 2027. Attempts to directly write data without special access in apps targeting the new OS version will result in a failure or a SecurityException. Apps targeting older Android versions will retain the previous behavior for now.

The People Directory mechanism will allow messaging and phone apps to add contact methods to the system directory without changing personal cards. The principle of separate access to selected contacts is already in effect in Android 17, and the new entry procedure should eliminate another avenue for mass changes to the phone book without explicit approval.
 
Top Bottom