StoreRules

规则 · 满足 Google Play 目标 API 级别要求 · 从低于 Android 11(API 级别 30)迁移

Migrate to Android 7 (API level 24)

通俗解读

以 Android 7.0(API 级别 24)或更高版本为目标平台的 App 必须考虑 Doze 和 App Standby 限制、更严格的文件访问与 URI 共享规则,以及禁止链接非 NDK 库的限制。

  • 针对 Doze 和 App Standby 进行设计:系统会限制网络访问,推迟闹钟、同步和作业,限制 GPS 和 Wi-Fi 扫描,并限制普通优先级的 Firebase Cloud Messaging 消息。
  • 系统会限制对 App 私有目录的访问。
  • 在 App 外部公开 file:// URI 会触发 FileUriExposedException;如需在 App 外部共享文件,请实现 FileProvider。
  • 系统禁止链接到非 NDK 库。
  • Android 7.0 行为变更页面提供了完整的变更清单。

摘要由 StoreRules 撰写,并与官方原文核对。

官方原文摘录

The following considerations apply to apps targeting Android 7.0 and higher versions of the platform: - Doze and App Standby Design for behaviors described in Optimizing for Doze and App Standby, which encompasses incremental changes introduced across several platform releases. When a device is in Doze and App Standby …

阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规

开发者关于此条款的案例

暂无案例。

分享你的案例