My app only needs to create or edit a single contact (for example, adding a contact from a chat thread). What should I do?
通俗解读
如果应用只需创建或编辑单个联系人,则须使用平台 Intent,而非直接请求写入权限。
- 使用 ACTION_INSERT 提示用户创建新联系人。
- 使用 ACTION_EDIT 修改现有联系人。
- 对于混合工作流,使用 ACTION_INSERT_OR_EDIT。
- 这些 Intent 会打开标准化的系统编辑器,由用户审阅并确认更改。
- 如适用,应用可预先填充联系人字段,例如姓名和电话号码。
官方原文摘录
You will need to transition to platform intents instead of requesting direct Write permissions. You should use: - ACTIONINSERT to prompt the user to create a new contact - ACTIONEDIT to modify an existing contact - ACTIONINSERTOREDIT for hybrid workflows These platform intents launch a standardized, highly reliable …
阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规
变更历史
- · 新增
开发者关于此条款的案例
暂无案例。