ionic-team / capacitor-plugins

Official plugins for Capacitor ⚡️
533 stars 599 forks source link

Issue when opening URL with @capacitor/browser #2253

Open Dante1349 opened 1 week ago

Dante1349 commented 1 week ago

Bug Report

Plugin(s)

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 6.2.0
  @capacitor/core: 6.2.0
  @capacitor/android: 6.2.0
  @capacitor/ios: 6.2.0

Installed Dependencies:

  @capacitor/cli: 6.1.0
  @capacitor/android: 6.1.0
  @capacitor/core: 6.1.0
  @capacitor/ios: 6.1.0

[success] iOS looking great! 👌
[success] Android looking great! 👌
--------------------------------------

Platform(s)

Current Behavior

Viewport stays white, back button has no function. No error logs in console. Close button in notch safe-area.

Expected Behavior

Page loads correctly. Back button click makes user return to app. Close button below notch safe-area.

Code Reproduction

Browser.open({ url: url }).catch((error) => { console.error("Cannot open url in browser", error); });

Other Technical Details

The issue only occurs in the iOS simulator but not on a real iOS devices that also has iOS 18. No issues, no hint whats going on atm.

Additional Context

Screenshot

image

Ionitron commented 1 day ago

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks! Ionitron 💙