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

react-native-webview : View config getter callback for component RNCWebView must be a function (received undefined) #549

Open
Shedna opened this issue Jan 29, 2024 · 1 comment

Comments

@Shedna
Copy link

Shedna commented Jan 29, 2024

Summary

Hello ! I'm facing a weird issue with Snack.
I've done a very concise Snack, only display a Webview using react-native-webview but I'm getting a weird error: View config getter callback for component RNCWebView must be a function (received undefined). I get this error with Expo 49 and react-native-webview 13.2.2.

Some hints :

  • It's working fine with Expo 48 and react-native-webview 11.26.0
  • If I copy paste this code and execute it locally (without Snack) it's working fine in any version. So my guess is an issue with Snack only and not Expo 49 nor react-native-webview.
  • The thing is I'm stuck because I'd like to use Expo Go to run the Snack on my device but since Expo 48 support is dropped on Expo Go I have no way to run the Snack on my device...

Thanks in advance for your help !

What platform(s) does this occur on?

Android, iOS

SDK Version

49.0.0

Reproducible demo or steps to reproduce from a blank project

https://snack.expo.dev/@shedna42/bug-report-expo

@webdevfed
Copy link

This is still an issue on both expo 49.0.0 with react native webview version 13.2.2 and expo 50.0.0 with react native webview version 13.6.4. Can someone please look into this? We can't test any webview apps on latest expo go since it requires expo 49 and 50 sdk.

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

2 participants