Type 'WKWebView' does not conform to protocol 'WebViewProtocol'
This is something really weird.
The WebViewProtocol has evaluateJavaScript but then the extension is not using it at all. This drives to the following error: Type 'WKWebView' does not conform to protocol 'WebViewProtocol'
anybody has any idea whats going on?
Upgrading to version 6.5.6 fixed that issue for me.
Please upgrade to a version from 6.5.6 or higher. Note that you should ensure the following steps are completed:
-
Upgrade the version and confirm that the file Package.resolved includes the version you want to upgrade to.
For example, for version 6.5.7, the revision should be the latest commit for that version.
{
"originHash" : "11b591344128590141e320d0bce4d4a31a2e7b0e204bd91279890771a1b81dc2",
"pins" : [
{
"identity" : "swift-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/iterable/swift-sdk",
"state" : {
"revision" : "885d25589ca1be2ccc5ce54bcf885941bfc3bd25",
"version" : "6.5.7"
}
}
],
"version" : 3
}
- Re-install the Pod files and ensure that
Iterable-iOS-SDKhas been upgraded.
Any idea when react-native-sdk will use this version? Or is there a way for me to override it? https://github.com/Iterable/react-native-sdk/blob/2f877995c574441fbdc982014cc61baf847e4847/Iterable-React-Native-SDK.podspec#L26
@jakekreider this will be handled by an upcoming React Native SDK version :)