"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 去排查

相关推荐
Doro再努力6 小时前
【Linux操作系统10】Makefile深度解析:从依赖推导到有效编译
android·linux·运维·服务器·编辑器·vim
Daniel李华7 小时前
echarts使用案例
android·javascript·echarts
做人不要太理性8 小时前
CANN Runtime 运行时组件深度解析:任务调度机制、存储管理策略与维测体系构建逻辑
android·运维·魔珐星云
我命由我123458 小时前
Android 广播 - 静态注册与动态注册对广播接收器实例创建的影响
android·java·开发语言·java-ee·android studio·android-studio·android runtime
朗迹 - 张伟9 小时前
Tauri2 导出 Android 详细教程
android
lpruoyu9 小时前
【Android第一行代码学习笔记】Android架构_四大组件_权限_持久化_通知_异步_服务
android·笔记·学习
独自破碎E10 小时前
【BISHI15】小红的夹吃棋
android·java·开发语言
李堇13 小时前
android滚动列表VerticalRollingTextView
android·java
lxysbly14 小时前
n64模拟器安卓版带金手指2026
android
游戏开发爱好者817 小时前
日常开发与测试的 App 测试方法、查看设备状态、实时日志、应用数据
android·ios·小程序·https·uni-app·iphone·webview