Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Capacitor Browser open fails in a web browser on iOS

$
0
0

We are still on Capacitor 2 and in our app that is available for iOS, Android and Web we are using the Browser API to open a window in a couple of places e.g

await Browser.open({ url: url, presentationStyle: "popover" });

This works on the devices (iOS and Android) and also successfully opens a window on a desktop browser.

It also works on Android devices when opening the app up in Chrome.

But on iOS devices when we access the app in Safari the window does not open at all and in the console I can see:

Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open.

Is this to be expected with the Browser API ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles