flutter_inappwebview
flutter_inappwebview copied to clipboard
在用户同意隐私政策之前违规获取了个人信息
flutter_inappwebview: 5.4.3+7 版本 在插件加载过程中就获取了应用列表 , 导致中国应用市场审核提示,以下为提示的log
违规行为:未经许可读取个人信息 | 获取应用列表
发生时间:2022-09-05 09:22:58
违规md5:md5=2B51371189455DDBA22DF7652295E761,
违规包名:pkg=com.xxxx,
违规动作:action=android.permission.MY_READ_INSTALLED_PACKAGES,
违规详情:content=获取指定包名的APP信息:com.android.webview,callstack:android.app.ApplicationPackageManager.getPackageInfoAsUser:191;android.app.ApplicationPackageManager.getPackageInfo:156;android.webkit.WebViewFactory.getWebViewContextAndSetProvider:392;android.webkit.WebViewFactory.getProviderClass:439;android.webkit.WebViewFactory.getProvider:251;android.webkit.CookieManager.getInstance:40;com.pichillilorenzo.flutter_inappwebview.MyCookieManager.getCookieManager:104;com.pichillilorenzo.flutter_inappwebview.MyCookieManager.
违规行为:未经许可读取个人信息 | 获取应用列表
发生时间:2022-09-05 09:22:58
违规md5:md5=2B51371189455DDBA22DF7652295E761,
违规包名:pkg=com.xxxx,
违规动作:action=android.permission.MY_READ_INSTALLED_PACKAGES,
违规详情:content=查询包名:com.android.webview,输出结果:null,callstack:android.app.ApplicationPackageManager.getInstallerPackageName:2044;org.chromium.base.BuildInfo.
👋 @shenhuaxiyuan
NOTE: This comment is auto-generated.
Are you sure you have already searched for the same problem?
Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!
If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.
In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE]
or ios WKWebView [MY ERROR HERE]
keywords.
Following these steps can save you, me, and other people a lot of time, thanks!
I have been begging the Xiaomi store to put this plugin on the detection whitelist. This project will definitely lose Chinese developers,If the author does not change.
我们的app也出现这个问题了,也是小米应用市场
With upstairs, also is Xiaomi Application Market。 Violation action:action=android.permission.MY_READ_INSTALLED_PACKAGES
same problem,any progress about this?
出门右转 Use webview_flutter instead .
出门右转 Use webview_flutter instead .
webview_flutter可以完全取代这个?在哪里?支持桌面版吗?
出门右转 Use webview_flutter instead .
webview_flutter可以完全取代这个?在哪里?支持桌面版吗?
https://pub.dev/packages/webview_flutter
临时修复: https://github.com/shirne/flutter_inappwebview/tree/fix_init
把CookieManager等的初始化做了一个延迟手动调用 具体见readme
This temporary fix didn't solve my problem @shirne
moved discussion to https://github.com/pichillilorenzo/flutter_inappwebview/issues/1462