Can I still use the WRITE_CONTACTS permission?
In plain words
Apps targeting API level 38 or higher can no longer use WRITE_CONTACTS to create, modify or delete contacts; writes to the Contacts Provider throw a SecurityException that apps should handle.
- For apps targeting API level 38 or higher, WRITE_CONTACTS no longer grants the ability to create, modify, or delete contacts.
- The system won't show the permission request dialog for these apps.
- Attempts to write to the Contacts Provider will throw a SecurityException.
- Your app should handle this exception rather than assume a write succeeded.
From the official text
Not for apps targeting API level 38 or higher. For these apps, WRITECONTACTS no longer grants the ability to create, modify, or delete contacts. The system won't show the permission request dialog. Attempts to write to the Contacts Provider will throw a SecurityException. Your app should handle this exception rather …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Change history
- · added
Developers' cases about this clause
No cases yet.