Open Heshyo opened 3 years ago
same here. using iOS 14.5
I have the problem on simulator with notch and real iPhone without notch.
same issue on iPhone 11 ios 14.7
Hello, I arrive here from #801 . I am having a similar issue even with hideurlbar=yes. (iOS 14.7.1 ; iPhone 8; using ionic 5)
@Qlfvr @Maks113 I observe URL bar is present but we have to change the font colour for the visible font, problem: bar colour is the same as the URL text font colour which is white!
Hi. Is there any news about this problem? Is a fix planned? Thanks
i think we need to fork this plugin and edit CDVWKinAppbrowser.m => self.addressLabel.backgroundColor at the line 859 to = [UIColor Black]; and just make the build on ios will be set url bar background to black. when ever we make the build it automaticaly fetch details from the main plugin branch from git so our customised code from the project can do nothing .just try it
Hi. Is there any news about this problem? Is a fix planned? Thanks
Same question
The issue seems to still persist. Tested on emulator, iPhone 14, iOS 16.2.
"cordova-plugin-inappbrowser": "^5.0.0"
@capacitor/cli: 4.6.3 @capacitor/core: 4.6.3 @capacitor/android: 4.6.3 @capacitor/ios: 4.6.3
openjdk version "19.0.2" 2023-01-17 OpenJDK Runtime Environment Homebrew (build 19.0.2) OpenJDK 64-Bit Server VM Homebrew (build 19.0.2, mixed mode, sharing)
I changed to themeablebrowser instead, which allows me more styling options. Works great! For example you can use this fork:
This issue still exist as of 12/5/2023 for IOS device version 15
Bug Report
Problem
On iOS, the location bar is transparent, meaning the app is visible behind.
What is expected to happen?
The location bar has the same background color as the toolbar, hiding the app behind and making the visited URL visible.
What does actually happen?
The location bar is transparent.
The green rectangle shows the location bar. It's transparent, and as the background of the app is white, just like the location, the location isn't visible.
Changing
toolbarcolor
ortoolbartranslucent
doesn't have any effect on the locationInformation
I don't know if this is linked with https://github.com/apache/cordova-plugin-inappbrowser/issues/801 as it's reported to be caused by the notch. I've tested it on real devices with notch, as well as in the simulator on an iPhone 8 that has no notch, and I always have the issue.
Looking at the code it seems normal that this issue occurs, as the label has a transparent background color.
Doing the following fixes my issue mostly
This only mostly fixes the issue because
blackColor
it would be best to be able to reuse the color of the toolbar. Setting it toself.toolbar.barTintColor
works, but only if atoolbarcolor
option was used.Command or Code
Environment, Platform, Device
Version information
Checklist