Zentrust / OTPublishersHeadlessSDK

OTPublishersHeadlessSDK for iOS
Other
6 stars 6 forks source link

No logo at first launch app #3

Open salvatoreboemia opened 2 years ago

salvatoreboemia commented 2 years ago

in order to enable devs to perfom showBanner() automatically without user interaction.

alessandrostuppino commented 2 years ago

I have the same issue. I need to trigger the method OTPublishersHeadlessSDK.shared.showBannerUI() as soon as OTPublishersHeadlessSDK.shared.setupUI(<my_view_controller_instance>) is completed in order to present the banner automatically without any User Interaction.

I'm expecting to act in similar way as below:

OTPublishersHeadlessSDK.shared.setupUI(<my_view_controller_instance>) {
    // this stuff is called only when setupUI is completed succesfully
    DispatchQueue.main.async {
        OTPublishersHeadlessSDK.shared.showBannerUI()
    }
}

Can you work on this and integrate such an optional completion? (@mobileOneTrust)

salvatoreboemia commented 2 years ago

Yes @alessandrostuppino you are right.

but the second time I start the app without delete it, the banner shown correctly.

I need to show banner in willAppear without any button for download response.responseString

salvatoreboemia commented 2 years ago

@mobileOneTrust news on that logo issue?

salvatoreboemia commented 2 years ago

Hi News? @mobileOneTrust

salvatoreboemia commented 2 years ago

News?