"reCAPTCHA Enterprise (com.googleandroidrecaptcha:recaptcha)"的开发者向 SDK 版本 18.1.2

前言

最近上架Google 有提示这种警告

vbnet 复制代码
"reCAPTCHA Enterprise (com.googleandroidrecaptcha:recaptcha)"的开发者向 SDK 版本 18.1.2 添加了以下备注:
A critical security vulnerability was discovered in reCAPTCHA Enterprise for Mobile. The vulnerability has been patched in the latest SDK
release. Customers wil need to update their Android apolication with the reCAPTCHA Enterorise for Mobile SDk, version 18 4 0 or above.We
strongly recommend you update to the latest version as soon as possible

因为我们项目依赖了Firebase的一些三方sdk

java 复制代码
implementation 'com.adjust.sdk:adjust-android:4.28.3'
//gcm
implementation "com.google.android.gms:play-services-gcm:17.0.0"
//内购
api 'com.android.billingclient:billing:6.0.0'
implementation 'com.google.android.play:core:1.10.0'
// Import the Firebase BoM
implementation 'com.google.firebase:firebase-core:20.1.2'
implementation platform('com.google.firebase:firebase-bom:32.3.0')
implementation 'com.google.firebase:firebase-config'
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-crashlytics:18.1.0'
// play install
implementation 'com.android.installreferrer:installreferrer:2.2'

加了这些依赖后 我们去打包没问题 但是我们提包去商店 就报问题了

stackoverflow.com/questions/7...

我们可以在 GitHub 的 Firebase-android-sdk 里面的 issues 里面可以看到

需要更新到 18.4.0 版本

css 复制代码
Add the following build rule to the dependencies section of your app-level build.gradle file:

implementation 'com.google.android.recaptcha:recaptcha:18.4.0'

Make sure to use reCAPTCHA SDK version 18.4.0 or later.

更新此版本应该就可以解决 因为Firebase 的其他依赖里面 包含了 (com.google.android.recaptcha;recaptcha)这个依赖

最后总结 :

此类上架问题我们需要针对Firebase sdk 仓库的 isseus 去排查

相关推荐
new_dev29 分钟前
Python实现Android自动化打包工具:加固、签名、多渠道一键完成
android·python·自动化
小孔龙30 分钟前
Android `<activity-alias>` 指南:动态图标 · 多入口 · 重命名兼容
android·程序员·掘金·日新计划
QING6181 小时前
Kotlin inline 实战详解 —— 新手须知
android·kotlin·android jetpack
ElevenS_it1881 小时前
MySQL慢查询监控与告警实战:从slow_log采集到分钟级定位慢SQL的完整链路配置
android·sql·mysql
沐言人生1 小时前
ReactNative 源码分析12——Native View创建流程onBatchComplete
android·react native
caicai_xiaobai1 小时前
QT搭建安卓开发环境
android
YF02111 小时前
Android 异形屏与横屏全屏沉浸式适配技术方案
android·app
2501_941982052 小时前
通过 API 实时监听企业微信外部群变更事件并同步本地数据库
android·自动化·企业微信·rpa
白雪落青衣3 小时前
buuoj course 1详细解析
android
恋猫de小郭3 小时前
Android 发布全新性能分析器,实用性和性能大升级
android·前端·flutter