New WebView throws error

Recently made the jump from SDK 35 to 37. I am using WebView for one of my pages. I’ve added the
WebView from ‘react-native-webview’. App loads fine; however, when I open a page that uses the new call, I get the following error:

Abi37_0_0.host.exp.exponent.modules.api.components.webview.RNCWebViewManager cannot be cast to abi30_0_0.com.facebook.react.uimanager.ViewGroupManager


The error shows up in the expo app, but not the console. Anyone else running into this?

I’ve also deleted node-modules, npm-installed and expo start -c - updated cli, deleted and re-installed expo on my app. Same error shows each time.

My call is as follows (which was working in 35):

        <WebView
          renderLoading={() => {
            return this.displaySpinner();
          }}
          source={{ uri: this.state.url }}
        >
          <View>
            <Text style={{ color: "white", fontSize: 24 }}>testing</Text>
          </View>
        </WebView>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.