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

Type 'WKWebView' does not conform to protocol 'WebViewProtocol' #844

Open
santomegonzalo opened this issue Oct 15, 2024 · 3 comments
Open

Comments

@santomegonzalo
Copy link

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?

Screenshot 2024-10-15 at 15 37 11
@aethe
Copy link

aethe commented Oct 15, 2024

Upgrading to version 6.5.6 fixed that issue for me.

@cunguyendev
Copy link

Please upgrade to a version from 6.5.6 or higher. Note that you should ensure the following steps are completed:

  1. 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
}
  1. Re-install the Pod files and ensure that Iterable-iOS-SDK has been upgraded.

@jakekreider
Copy link

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

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

4 participants