Cannot open In-App Browser on iOS with Capacitor Browser Plugin.
The Plugin works well on Web, but when compiled to iOS and builded, throws an error on WebInspector: Unhandled Promise Rejection: Error: "Browser" plugin is not implemented on ios
import { Browser } from '@capacitor/browser';
export default defineComponent({
setup(){
Browser.open({ url: 'https://google.com'}).then(() => {})
//On Safari Developer Web Inspector, throws error
}
})
My setup:
Ionic:
Ionic CLI : 6.19.1 (C:\Users\Bruno\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/vue 6.2.6
Capacitor:
Capacitor CLI : not installed
@capacitor/android : not installed
@capacitor/core : 4.1.0
@capacitor/ios : 4.1.0
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v14.17.0 (C:\Program Files\nodejs\node.exe)
npm : 8.12.0
OS : Windows 10