Zentrust / OTPublishersHeadlessSDK

OTPublishersHeadlessSDK for iOS
Other
7 stars 5 forks source link

Banner background is white instead of clear #26

Closed vikdenic closed 8 months ago

vikdenic commented 10 months ago

On iOS 17, there is an issue where the OneTrust banner background is white and blocks any views beneath it (SDK version 202309.1.0). We are showing the banner in our app like so:

OTPublishersHeadlessSDK.shared.setupUI(viewController, UIType: .banner)
OTPublishersHeadlessSDK.shared.showBannerUI()

In the view debugger, you will see the Banner view-controller's view has a white background though:

view_debugger

This results in the views beneath being covered up (not desired):

Is there a way to fix the OneTrust banner's background (which is supposed to be clear) from being white in iOS 17?

techouse commented 10 months ago

Same issue here. Works fine on iOS 16, but breaks on iOS 17.

Also, manually changing OTSDK-UIConfig-iOS.plist > bannerTheme > backgroundColor to something like #FFC0CB makes the background color of the whole screen pink instead of just the background color of the banner.

MicrosoftTeams-image

techouse commented 9 months ago

Looks like this got fixed in v202311.1.0

iOS

Fixed

Fixed an UI issue where the background view was bring blocked from being visible if 1/3 or 1/2 banner height ratio scenarios were configured in the templates.

vikdenic commented 8 months ago

Fixed in v202311.1.0