Support multi view instances like a browser
See original GitHub issueBug description: We are trying to make a simple browser using the module but I found some problems on iOS:
shouldStartLoadForRequest
use a single lock condition. If 2 RNCWebview instances call the method, the previous call will always getYES
with a warning “Did not receive response to shouldStartLoad in time, defaulting to YES”createWebViewWithConfiguration
will work incorrect in sites that need google or github login like https://app.gitbook.com/login. In the site, a parent window wants to create a child window (by window.open) for authentication, and then close it after login success (by window.close).
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Web-Based Multi-Screen Apps Including Drag & Drop - Medium
Drag & drop across multiple browser windows is probably the most difficult part. Imagine an app running on 2 screens (one fullscreen browser...
Read more >Support multi view instances like a browser #1111 - GitHub
We are trying to make a simple browser using the module but I found some problems on iOS: shouldStartLoadForRequest use a single lock...
Read more >Split Screen Browser - Simple to Use | Stackbroswer.com
As long as it can be accessed online and needs credentials, you can use Stack to open multiple accounts of it. Needless to...
Read more >The Multi-Screen Window Placement API allows you to ...
The Multi-Screen Window Placement API allows you to enumerate the displays connected to your machine and to place windows on specific ...
Read more >Investigating Multi-Window Browser Applications
This works in Chrome, Firefox and Edge. window. open( "https://www.example.com", "popup-1", "noopener,top=100,left=100,width=400,height=400" ); ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@binhndicts is there an android solution to this? I have a link that has attribute target=“_blank” and it doesn’t work right in android, but fine in iOS.
@binhndicts Did you ever find a solution? I’d like to have a more universal fix for window.open/close as well. I can’t control third party sites that use popups (ie facebook login), and I don’t always have control over timing - sometimes window.open/close is put in <head>, which runs before any injected javascript is added. Ideally there’d be a way to intercept window.open/close calls with custom event handlers.