yorkie / react-native-wechat

🚀 WeChat login, share, favorite and payment for React-Native on iOS and Android platforms (QQ: 336021910)
https://npmjs.org/package/react-native-wechat
MIT License
2.91k stars 711 forks source link

UIWebView替换成WKWebView #565

Open kmyw opened 4 years ago

kmyw commented 4 years ago

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

arifo commented 4 years ago

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

enigmablue commented 4 years ago

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).

enigmablue commented 4 years ago

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

zabojad commented 3 years ago

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.