Play Integrity Implementation here和Firebase documentation中的Play Integrity Implementation here有什么区别,您应该遵循哪一个?我也不理解Play Store文档中的那个,因为它所做的只是添加了依赖项,因此我假设Google Play Services会在后台自动处理它,只要它检测到应用程序具有Play Integrity依赖项.
Play Integrity Implementation here和Firebase documentation中的Play Integrity Implementation here有什么区别,您应该遵循哪一个?我也不理解Play Store文档中的那个,因为它所做的只是添加了依赖项,因此我假设Google Play Services会在后台自动处理它,只要它检测到应用程序具有Play Integrity依赖项.
Play Store的Play完整性和Firebase App Check的Play完整性之间存在巨大差异.在Play Integrity的情况下,你可以在应用程序中的重要时刻拨打Integrity API,以判断用户的操作和请求是否来自由Google Play安装的、在真正的Android设备上运行的未经修改的应用程序二进制文件.所以这是关于Google Play的,而不是其他的.
另一方面,Firebase App Check with Play Integrity通过阻止未经授权的客户端访问您的后端资源,帮助您保护您的API资源不被滥用.因此,除了你首先应该有一个Firebase项目这一事实之外,这个功能还确保了对你后端的调用来自你真正的应用程序.