Answered

[iOS SDK] Intercom show/hide animation is broken when app has more than one UIWindow

  • 15 September 2023
  • 1 reply
  • 32 views

Intercom appear animation looks like it’s presenting its View Controller on top of the current View Controller. But in reality it adds a new UIWindow with a snapshot of the current window and presents its View Controller on top of it.
The issue is it doesn’t look for the top window, but uses something like UIApplication.shared.windows.first for the snapshot — this breaks animation with multiple app windows.
In our case we have another “User is blocked please contact support” window on top (with higher windowLevel), which is not used for this snapshot :(

Expected:
Intercom should use the top-level key window for the snapshot.
Intercom UIWindow’s windowLevel should be the same or higher than the current top window.

icon

Best answer by Eden 20 September 2023, 21:04

View original

1 reply

Userlevel 3
Badge

Hey @Tango 👋 Eden from the support engineer team here.

 

This looks like it will need more investigation, so I’ve gone ahead and escalated this issue as a conversation with the Support team. They will get back to you there as soon as possible! 

Reply