Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIWebView 将被废弃,需要更新 #99

Open
jkzml opened this issue Sep 3, 2019 · 5 comments
Open

UIWebView 将被废弃,需要更新 #99

jkzml opened this issue Sep 3, 2019 · 5 comments

Comments

@jkzml
Copy link

jkzml commented Sep 3, 2019

当通过 CocoaPods 加载 Ping++(2.2.26)至项目时,提交版本至 TestFlight 得到以下来自 Apple 的警告邮件

"ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information".

请查看并修正,谢谢。

@samurai00
Copy link
Contributor

我们本身的 SDK 很早就已经全部换成 WKWebView 了,如果还提示这个,说明是渠道的 SDK 用了 UIWebView,可能是支付宝、招行之类的SDK。但我看支付宝最新的更新日志(15.6.5,我们上传的暂时还是 15.6.4)也没有提到替换 UIWebView。你看看你用到了哪些渠道,一个个来排除一下。

@samurai00
Copy link
Contributor

看起来,支付宝、银联、招行、和包支付都用到了 UIWebView

➜  pingpp-ios git:(master) grep -c "UIWebView" lib/**/*.a
lib/Channels/Alipay/libpingpp+alipay.a:0
lib/Channels/ApplePay/libUPAPayPlugin.a:0
lib/Channels/ApplePay/libpingpp+applepayUpacp.a:0
lib/Channels/BfbWap/libpingpp+bfbWap.a:0
lib/Channels/CcbPay/libpingpp+ccbpay.a:0
lib/Channels/CmbWallet/libpingpp+cmbWallet.a:16
lib/Channels/Cmpay/libCmpayiPosLib.a:19
lib/Channels/Cmpay/libpingpp+cmpay.a:0
lib/Channels/Jdpay/libpingpp+jdpay.a:0
lib/Channels/QQWallet/libpingpp+qqwallet.a:0
lib/Channels/UnionPay/libPaymentControl.a:113
lib/Channels/UnionPay/libpingpp+up.a:0
lib/Channels/Yeepay/libpingpp+yeepay.a:0
lib/Dependencies/Agreement/libpingpp+agreement.a:0
lib/Dependencies/Network/libpingpp+network.a:0
lib/Dependencies/WebView/libpingpp+webview.a:0
lib/libpingppcore.a:0
➜  pingpp-ios git:(master) grep -c "UIWebView" lib/Channels/Alipay/AlipaySDK.framework/AlipaySDK
14
➜  pingpp-ios git:(master) grep -c "UIWebView" lib/Channels/CmbWallet/cmbkeyboard.framework/cmbkeyboard
4

@jkzml
Copy link
Author

jkzml commented Sep 5, 2019

Ping++ 可否联系这些渠道并提供解决方案?

@WuZhuoXuan
Copy link

grep -r UIWebView .
Binary file ./WorkGo.xcworkspace/xcuserdata/wuzhuoxuan.xcuserdatad/UserInterfaceState.xcuserstate matches
Binary file ./Pods/Pingpp/lib/Channels/UnionPay/libPaymentControl.a matches

什么时候解决一下

@samurai00
Copy link
Contributor

支付宝、银联在 2.2.29 版本已经替换成 WKWebView;
招行在 2.2.31 版本已经替换招行新的 SDK。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants