Skip to content

Conversation

@christibbs
Copy link
Contributor

These UIWindow factory methods aren't going to win any beauty contests but this should fix #6803

UIWindowScene *foregroundedScene = [[self class] foregroundedScene];
UIWindowForBanner = [[FIRIAMBannerViewUIWindow alloc] initWithWindowScene:foregroundedScene];
if (foregroundedScene.delegate) {
UIWindowForBanner = [[UIWindow alloc] initWithWindowScene:foregroundedScene];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be FIRIAMBannerViewUIWindow instead of UIWindow?

Even better would be to refactor to get rid of the duplicated code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed both in 14c31bb.

@google-oss-bot google-oss-bot added the api: inappmessaging Firebase In App Messaging label Dec 2, 2020
@@ -1,3 +1,6 @@
# 2020-10 -- v7.3.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Date is 2010-12

@christibbs christibbs merged commit 6e1ba33 into master Dec 3, 2020
@firebase firebase locked and limited conversation to collaborators Jan 3, 2021
@paulb777 paulb777 deleted the fiam-app-delegate branch January 10, 2021 00:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: inappmessaging Firebase In App Messaging cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[InAppMessaging] Firebase in-app message stuck at top and can't be dismissed on iOS 13+

3 participants