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.

Not working with WKWebView

See original GitHub issue

HI! Plugin works incorrect when running on WKWebView, because of this condition if (window.location.protocol === 'http:' || window.location.protocol === 'https:') it detects app as running in browser. It would be great to make this condition more correct

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ihadeedcommented, Mar 18, 2017

Merged the PR and now is available in version 1.7.2

0reactions
ihadeedcommented, Feb 23, 2017

@askona by livereload I meant ionic run ios --livereload. But I see you’re not using that.

The WKWebView support that we currently have is for regular WKWebView, not the one modified by Ionic with the fix you linked to earlier.

I will review the PR you submitted and make sure it works for all cases, and then I’ll merge.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WKWebView not loading webpage - renders blank screen in ...
I have tried changing 'App Transport Security Settings' to allow arbitrary load. Didn't change anything. Screenshots: View hierarchy: Captured ...
Read more >
Problem using a WKWebView to load my site - Apple Developer
Hi, i´m trying to use a WKWebView to make an app that could load my site. I´ve tried to put the ip on...
Read more >
Creating a simple browser with WKWebView
iOS has two different ways of working with web views, but the one we'll be using for this project is called WKWebView ....
Read more >
Bug - react onClick() doesn't work well on WKWebview - iOS ...
On my mobile app i don't use react native but pure React / HTML inside a Native Webview. Problem. Touch events don't work...
Read more >
213510 – iOS 14: ITP causes issues for hybrid (WKWebView ...
To clarify: When App-Bound domains are in use you have this behavior: (1) WKWebView would only have script injection and style injection capabilities...
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