博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ssl问题被google 拒收
阅读量:4226 次
发布时间:2019-05-26

本文共 2200 字,大约阅读时间需要 7 分钟。

妈蛋!被google play拒收了。

问题:

Hello Google Play Developer,We rejected Dow Home Water, with package name com.scantrust.android.dow, for violating our Malicious Behavior or User Data policy. If you submitted an update, the previous version of your app is still available on Google Play.This app uses software that contains security vulnerabilities for users or allows the collection of user data without proper disclosure.Below is the list of issues and the corresponding APK versions that were detected in your recent submission. Please upgrade your app(s) as soon as possible and increment the version number of the upgraded APK.Vulnerability  APK Version(s)  Past Due DateSSL Error HandlerFor more information on how to address WebView SSL Error Handler alerts, please see this Google Help Center article. 1 November 30, 2016To confirm you’ve upgraded correctly, submit the updated version of your app to the Play Console and check back after five hours to make sure the warning is gone.While these vulnerabilities may not affect every app that uses this software, it’s best to stay up to date on all security patches. Make sure to update any libraries in your app that have known security issues, even if you're not sure the issues are relevant to your app.Apps must also comply with the Developer Distribution Agreement and Developer Program Policies.If you feel we have made this determination in error, please reach out to our developer support team.Best,The Google Play Team

解决:

@Overridepublic void onReceivedSslError(WebView view, final SslErrorHandler handler, SslError error) {    final AlertDialog.Builder builder = new AlertDialog.Builder(this);    builder.setMessage(R.string.notification_error_ssl_cert_invalid);    builder.setPositiveButton("continue", new DialogInterface.OnClickListener() {        @Override        public void onClick(DialogInterface dialog, int which) {            handler.proceed();        }    });    builder.setNegativeButton("cancel", new DialogInterface.OnClickListener() {        @Override        public void onClick(DialogInterface dialog, int which) {            handler.cancel();        }    });    final AlertDialog dialog = builder.create();    dialog.show();}

转载地址:http://edcqi.baihongyu.com/

你可能感兴趣的文章
Effective C++条款16:成对使用new和delete时要采取相同形式
查看>>
sizeof与strlen
查看>>
一个递归+二分法的洗牌程序
查看>>
YUV格式注释
查看>>
一维、二维数组传参
查看>>
判断当前时间的下一秒是多少
查看>>
从文本文件中读取数据排序并输出到文本
查看>>
求一个整数数组中第二大的数
查看>>
删除一个链表中的节点
查看>>
计算机网络面试整理【转】
查看>>
cookie和session区别详解
查看>>
程序员失业第一步?斯坦福研究员用AI从编译器反馈中学习改Bug
查看>>
原创 | 电视广告流量预测中的“常识”陷阱,你掉进去了吗?
查看>>
DeepMind发布最新《神经网络中持续学习》综述论文!
查看>>
本科三篇顶会一作、超算竞赛冠军,2020清华本科特奖结果出炉
查看>>
多语言互通:谷歌发布实体检索模型,涵盖超过100种语言和2000万个实体
查看>>
你的房东可能正用AI筛查你的犯罪记录,决定要不要租房给你
查看>>
AI把爱豆变胖视频火遍B站,我们找到了背后的技术团队:你是怎么把刘亦菲变胖的?...
查看>>
白硕:区块链技术与数据隐私(附视频)
查看>>
数据蒋堂 | 报表工具的SQL植入风险
查看>>