CRAlpha / CRAlpha/react-native-wkwebview
Opening pop ups in wkwebview
Open
- Dominant language
- Objective-C
- Stars
- 637
- Forks
- 263
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I tried to use to wkwebview to display a web page which contains pop up window. But it didn't display the pop up window. Then after some searching around I found this line to be added to the RCTWKWebView.m file.
config.preferences.javaScriptCanOpenWindowsAutomatically = YES;
After this line is added pop up window with web page opens in safari browser once you open the the wkwebview. The page is displaying in the browser rather than the wkwebview. How can I use this wkwebview to display the pop up window without the browser.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.