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.

Suggestion: make webview use WkWebkit over uiWebkit

See original GitHub issue

If your iframes are causing crashes from embedded videos on iOS, add the following somewhere:

if (WebView.defaultProps == null) WebView.defaultProps = {};
    WebView.defaultProps.useWebKit=true;

All this does is makes sure the WebView component uses webkit by default.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
maximus123123commented, May 6, 2019

It’s global, it may work

0reactions
maximus123123commented, May 6, 2019

Haha thanks man, I completely forgot what the error was, I kind of wrote that fix out of frustration/tiredness after fixing it. For me it was Vimeo that was causing the problem

Djinne is my other account

Read more comments on GitHub >

github_iconTop Results From Across the Web

WKWebView: How can I cont… | Apple Developer Forums
I'm working on your suggestion for using a single processPool, shared amongst Many WKWebViews. It's getting there, but I have some related questions:...
Read more >
JavaScript Manipulation on iOS Using WebKit | Capital One
Let's start with a simple example of what a WKWebView looks like out of the box. All you need to do to get...
Read more >
Create WKWebView In App (Swift 5 + WebKit) - YouTube
In this video we will learn how to set up a reusable webkit web view in our app. We will be working in...
Read more >
How to programmatically present the WebKit inspector for a ...
The use case I have for this in my debugging flow is a WKWebView in my desktop based app where the right-click events...
Read more >
WKWebView and JavaScript interaction | by Mushtaque Ahmed
Once the webpage is loaded on the webview, if something goes wrong or you need to debug or inspect the webpage, you can...
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