yorkie/react-native-wechat

UIWebView替换成WKWebView

kmyw opened this issue · 4 comments

kmyw commented

您好,你这个库需要把UIWebView替换成WKWebView,不然苹果上架审核不过

arifo commented

It seems that just replacing UIWebView to WKWebView will not solve the issue, in fact UIWebView is comming from the wechat SDK.
Current latest SDK version is 1.8.7.1 while 'react-native-wechat' uses 1.7.2 so just replacing with the latest SDK will not do the job because it seems that there have been a lot of changes to the api.
I am using this lib here as it seems that it uses a newer version of SDK
https://github.com/little-snow-fox/react-native-wechat-lib

So no fix for this?

ITMS-90809: Deprecated API Usage - App updates that use UIWebView will no longer be accepted as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

I guess this is worth a shot

I am using this lib here as it seems that it uses a newer version of SDK
https://github.com/little-snow-fox/react-native-wechat-lib

I confirm that after moving to https://github.com/little-snow-fox/react-native-wechat-lib I have no more issue.

https://github.com/yorkie/react-native-wechat is outdated and not maintained.