Comments (6)
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.
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.
Is there a patch for this with a solution or removal of Webview via react-native?
from react-native-recaptcha.
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.
@marcosvaz can you create a patch or let us know the steps you followed for installing WebView?
from react-native-recaptcha.
Related Issues (11)
- Execute not working in iPhone HOT 4
- Unused code in MessageWebView: postMessage HOT 2
- Not receiving any response in onExecute HOT 2
- Invalid argument supplied to oneOf, expected an instance of array. HOT 2
- Example of use HOT 27
- Redirected to my site HOT 10
- Unhandled promise rejection Error: Unable to open URL: about:blank HOT 1
- Can't handle url: "url" HOT 4
- Manually send a request to recaptcha. HOT 2
- Invisible captcha not rendered properly on iOS HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-recaptcha.