Apple is no longer allowing the use of inappbrowser, and is rejecting all apps that include that plugin, so CDVWKWebview is the only way now as inappbrowser is depricated.
ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
But there might be a new solution to this problem in Cordova@6.1.0:
Add preference for webview window handling (New Feature)
Historically, Cordova iOS has not supported the creation of new webview windows with APIs like
window.open or links with
target="_blank" . The default behaviour was inconsistent, with some links opening externally in Safari and some links being unclickable. There is now an
AllowNewWindows preference in
config.xml to control the behaviour of new windows within the application.
- When false (the default behaviour), links that would open a new window are instead opened in the same webview as if they had not requested a new window.
- When true , links that would open a new window will create a new webview overtop of the app. This new webview provides no controls, so you must include a way to dismiss it with
Links that are outside the list of
allow-navigation URLs will continue to open in Safari.