Open URL without InAppBrowser plugin


I want to open an URL and I am using InAppBrowser.

To avoid UIWebView Deprecated warning I upgrade cordova-ios to 5.1.1 and add in my config.xml:

<preference name="WKWebViewOnly" value="true" />

The problem is that I can’t build to ios because of InAppBrowser (this plugin still uses UIWebView), so I remove it but now I need an alternative to open an URL without InAppBrowser.

Any choice?

Thanks in advanced.

How about opening URLs inside of an iFrame.

If I don’t understand wrong, iFrame is a frame inside my app displaying an URL. If this is the case, I don’t want that. I want that when I click in a menu option, a web browser to be open.

The reason I asked about open URL without InAppBrowser plugin was Apple email.

Finally, the people of Cordova updates InAppBrowser plugin to version 3.2.0. Using this plugin updated with the version 5.1.1 of cordova-ios and adding in config.xml:

<preference name="WKWebViewOnly" value="true" />

I don’t receive the warning email from Apple.

I have read that the App Store will no longer accept new apps using UIWebView as of April 2020 and app updates using UIWebView as of December 2020. So these updated are welcome.

After upgrading cordova ios to 5.1.1 and using Inappbrowser, upon clicking the URL it simply redirects to the browser.
Is there a way to open the URL within the app.


Maybe you can do it with the value of property target. I let you here the documentation of InAppBrowser pluggin.