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

相关推荐
用户2018792831674 分钟前
Java 泛型:快递站老板的 "类型魔法" 故事
android
Knight_AL18 分钟前
浅拷贝与深拷贝详解:概念、代码示例与后端应用场景
android·java·开发语言
夜晚中的人海1 小时前
【C++】智能指针介绍
android·java·c++
用户2018792831671 小时前
后台Activity输入分发超时ANR分析(无焦点窗口)
android
用户2018792831671 小时前
Activity配置变化后ViewModel 的 “不死之谜”
android
游戏开发爱好者82 小时前
BShare HTTPS 集成与排查实战,从 SDK 接入到 iOS 真机调试(bshare https、签名、回调、抓包)
android·ios·小程序·https·uni-app·iphone·webview
2501_916008893 小时前
iOS 26 系统流畅度实战指南|流畅体验检测|滑动顺畅对比
android·macos·ios·小程序·uni-app·cocoa·iphone
2501_915106325 小时前
苹果软件加固与 iOS App 混淆完整指南,IPA 文件加密、无源码混淆与代码保护实战
android·ios·小程序·https·uni-app·iphone·webview
2501_915921435 小时前
iOS 26 崩溃日志解析,新版系统下崩溃获取与诊断策略
android·ios·小程序·uni-app·cocoa·iphone·策略模式
齊家治國平天下7 小时前
Android 14 Input 事件派发机制深度剖析
android·input·hal