question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Current release breaks web view in react native

See original GitHub issue

React native no longer supports RNViewPropTypes, View.PropTypes, or Text.PropTypes.

This is a breaking change for your index.js file.

I’ve still been working with your package and when needed I have been changing any mention of these types to an any in order to get the project running. I’d recommend implementing this or creating an interface to mirror the now missing PropTypes.

Ex of my local fix

- style:                          ViewPropTypes.style,
+ style:                          PropTypes.any, 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mikaellocommented, Mar 12, 2021

@SebCodesStuff you should create a fork of this repository and push your branch to that fork, and then create a pull request across forks (you will get this screen if you click “New pull request” under tab “Pull requests”):

across forks
1reaction
peacechencommented, Mar 11, 2021

Thanks for noting this issue. Would you mind submitting a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebView - React Native
This is documentation for React Native 0.61, which is no longer actively maintained. For up-to-date documentation, see the latest version (0.70) ...
Read more >
react-native-webview - npm
React Native WebView component for iOS, Android, macOS, and Windows. Latest version: 11.26.0, last published: 18 days ago.
Read more >
v11.18.0 is broken · Issue #2421 · react-native-webview/react ...
I have an Android app working fine with v11.17.2 of react-native-webview; if upgraded to v11.18.0 it crashes when it tries to render Webview...
Read more >
React Native WebView: A complete guide - LogRocket Blog
React Native WebView renders web content in a native view. Learn some of its tricks and features that you can use to your...
Read more >
Resetting a React-Native WebView Window - Stack Overflow
you can use useFocusEffect in react-navigation const INITIAL_URL = "websitelinkere.com/pageLink.html"; ... const webviewRef = useRef(); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found