My issue is I keep getting rejected by the Apple store for having UIWeb in my plugins. So I've upgraded all of my plugins but my issue is Google Plus won't install with cordova-ios 6.x. I can only get Google Plus installed with cordova-ios 5.1.1. The conflict is that cordova inapp browser won't install on 5.1.1, it needs 6.x or greater. I'm not sure how to resolve this issue with two different cordova plugins requiring different cordova-ios versions.

Is there an alternative to inapp browser?

Is there a way to open browser links from ionic without inapp browser?

"cordova-ios": "^6.0.0",
"cordova-plugin-androidx": "^3.0.0",
"cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-firebase-analytics": "^5.0.0",
"cordova-plugin-firebase-messaging": "^5.0.1",
"cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-googleplus": "^8.5.2",
"cordova-plugin-inappbrowser": "^5.0.0",
2

There are 2 best solutions below

0
andreszs On

To answer your specific question, yes there is. You can open links in the user's default browser using window.open as follows:

window.open('https://www.andreszsogon.com/', '_system');

0
Grant On

Unfortunately the only solution I could find for this scenario was to cave to the demands of InAppBrowser.

You start by removing your existing iOS platform:

ionic cordova platforms remove ios

You then install [email protected], specifically:

ionic cordova platforms add [email protected]

As a bonus side-note, if you are using Stripe you may encounter a bug where Stripe keeps popping up on app launch, that's apparently, allegedly due to spying.