Git Product home page Git Product logo

Comments (6)

renzhezizhi avatar renzhezizhi commented on August 29, 2024 3

The react-native has removed the WebView from their core in the new version 0.60.X. So try to install react-native-webview and find the "MessageWebView.js" file in your node_modules/react-native-recaptcha folder, change the line 2 from

import { WebView, View } from 'react-native'

to

import { View } from 'react-native'.

And import WebView as:

import { WebView } from 'react-native-webview';

to use the original WebView functionality.
I hope it helps.

from react-native-recaptcha.

renzhezizhi avatar renzhezizhi commented on August 29, 2024 2

The react-native has removed the WebView from their core in the new version 0.60.X. So try to install react-native-webview and find the "MessageWebView.js" file in your node_modules/react-native-recaptcha folder, change the line 2 from

import { WebView, View } from 'react-native'

to

import { View } from 'react-native'.

And import WebView as:

import { WebView } from 'react-native-webview';

to use the original WebView functionality.
I hope it helps.

Now, the app shows "View config not found for name RNCWebView" error

It sounds like you didn't link the react-native-webview successfully. Please try this tutorial to link it before use it. Hope it helps.

from react-native-recaptcha.

studiobrain avatar studiobrain commented on August 29, 2024

Is there a patch for this with a solution or removal of Webview via react-native?

from react-native-recaptcha.

marcosvaz avatar marcosvaz commented on August 29, 2024

The react-native has removed the WebView from their core in the new version 0.60.X. So try to install react-native-webview and find the "MessageWebView.js" file in your node_modules/react-native-recaptcha folder, change the line 2 from

import { WebView, View } from 'react-native'

to

import { View } from 'react-native'.

And import WebView as:

import { WebView } from 'react-native-webview';

to use the original WebView functionality.
I hope it helps.

Now, the app shows "View config not found for name RNCWebView" error

from react-native-recaptcha.

ashuOxit avatar ashuOxit commented on August 29, 2024

@marcosvaz can you create a patch or let us know the steps you followed for installing WebView?

from react-native-recaptcha.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.