Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WorkManager是否RECEIVE_BOOT_COMPLETED需要权限才能在重新启动后重新安排工作人员?如果不是 WorkManager 如何处理这个?
RECEIVE_BOOT_COMPLETED
是的。WorkManager 清单已经包含此权限,并且在大多数情况下,它应该会自动将清单合并到您的应用程序中。
来自 Google WorkManager 团队。