Skip to content

[SDK-337] Fix for status bar overlap on in-app messages#988

Open
franco-zalamena-iterable wants to merge 4 commits intomasterfrom
SDK-337-in-app-close-button-position
Open

[SDK-337] Fix for status bar overlap on in-app messages#988
franco-zalamena-iterable wants to merge 4 commits intomasterfrom
SDK-337-in-app-close-button-position

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown
Contributor

@franco-zalamena-iterable franco-zalamena-iterable commented Feb 10, 2026

🔹 Jira Ticket(s) if any

✏️ Description

We had a problem with fullscreen in-app messages, some clients were getting the close button behind the status bar and losing the ability to close the message.
The flag FLAG_FULLSCREEN was just making the content appear under the status bar but blocking clicks and obstructing the view.

The fix is to have new flags:

  • FORCE_RESPECT_BOUNDS;
  • FORCE_EDGE_TO_EDGE;
  • FOLLOW_APP_LAYOUT;
  • FORCE_FULLSCREEN.

These are meant to control the way the in-app will be drawn in relation to the status bar of the app. The default behavior will be FOLLOW_APP_LAYOUT so clients implementing it will not have to think about it, but if the app already accounts for the previous EDGE_TO_EDGE, you can have it as FORCE_EDGE_TO_EDGE.

}

private boolean hasEdgeToEdgeLegacyFlags(Activity activity) {
int flags = activity.getWindow().getDecorView().getSystemUiVisibility();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation

Invoking [View.getSystemUiVisibility](1) should be avoided because it has been deprecated.
}

@SuppressWarnings("deprecation")
private void configureSystemBarsFollowingApp(Window window, InAppLayout layout) {

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'layout' is never used.
@franco-zalamena-iterable franco-zalamena-iterable changed the title [SDK-337] Auto hide status bar flag for in-app messages fullscreen [SDK-337] Fix for status bar overlap on in-app messages Mar 24, 2026
@joaodordio joaodordio self-requested a review April 1, 2026 16:16
@franco-zalamena-iterable franco-zalamena-iterable force-pushed the SDK-337-in-app-close-button-position branch from de2b8af to eccf755 Compare April 1, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants