zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
8 stars 12 forks source link

Use of deprecated UIWebView in iOS #2

Closed diegogurpegui closed 4 years ago

diegogurpegui commented 4 years ago

When uploading a project to Apple with this component, this warning is returned:

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

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

The use of UIWebView is deprecated and this project seems to be using it based on this search: grep -r UIWebView node_modules/*

The problem is that it seems to be used in binary files, which there is no way of easily change. Is there any plan to update this? Otherwise every project using this will eventually face big problems.

mark-slepkov commented 4 years ago

Same problem for me. Is there any solution?

diegogurpegui commented 4 years ago

I tried replacing the binaries in this component with the ones in: https://github.com/zoho/SalesIQ-Mobilisten-iOS/ But it didn't work, which leads me to think that the iOS native SDK is not compatible either (or that I replaced them wrong).

Rishabh-Raghunath commented 4 years ago

The native iOS SDK has been updated to use WKWebView instead of UIWebView. As an immediate workaround, you can replace the binary Mobilisten.framework and that should solve the issue. You can find the latest builds of the framework from: https://github.com/zoho/SalesIQ-Mobilisten-iOS/ We will be releasing an update shortly for react native as well to have this resolved.

diegogurpegui commented 4 years ago

Thanks for the response Rishabh! We did that workaround last week and made it work for the time being. We look forward to the update on the SDK.

Best

On Mon, May 18, 2020 at 3:31 PM Rishabh Raghunath notifications@github.com wrote:

The native iOS SDK has been updated to use WKWebView instead of UIWebView. As an immediate workaround, you can replace the binary Mobilisten.framework and that should solve the issue. You can find the latest builds of the framework from: https://github.com/zoho/SalesIQ-Mobilisten-iOS/ We will be releasing an update shortly for react native as well to have this resolved.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/issues/2#issuecomment-630361398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPBHFT3TMH62ODZBWMMLUDRSF5JLANCNFSM4MMWYWAA .

Angu-G commented 4 years ago

We have rolled out an update with the WKWebView. react-native-zohosalesiq-mobilisten

Rishabh-Raghunath commented 4 years ago

Closing this issue. Update with the WKWebView change has been moved live with version 0.1.0.