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.
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.
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.