Skip to content

Conversation

@awardakbb
Copy link

With apps being edge-to-edge by default starting in Android 15, this PR helps avoid overlap of the message content and the system bars and cutouts when the message is opened in the InboxMode.ACTIVITY mode.

Related: #909

@awardakbb
Copy link
Author

Hi @sumeruchat, @pdias-iterable, @davidtruong, @Ayyanchira,

Tagging you all here since you reviewed a recent PR. I was hoping to get some reviews on this one as well. We're using the Android SDK and would be great to get this fix in soon.

Thanks,
Aman

@sumeruchat
Copy link
Collaborator

@awardakbb Thanks we are looking into this

@Ayyanchira
Copy link
Member

Ayyanchira commented Oct 31, 2025

Hi @awardakbb , would you be able to provide screenshot of before and after of IterableInboxFragment handling a sample in-app getting displayed? Is the InboxFragment used on App's UI directly or is IterableInboxActivity being used?

One observation I have is: Hosting activity of the fragment may have titlebar which could obstruct the in-app content even with system bars/cutout offset. We might have to optionally check hosting Activity containing a title bar and add it to the offset.

@awardakbb
Copy link
Author

awardakbb commented Nov 1, 2025

Hi @awardakbb , would you be able to provide screenshot of before and after of IterableInboxFragment handling a sample in-app getting displayed? Is the InboxFragment used on App's UI directly or is IterableInboxActivity being used?

One observation I have is: Hosting activity of the fragment may have titlebar which could obstruct the in-app content even with system bars/cutout offset. We might have to optionally check hosting Activity containing a title bar and add it to the offset.

Hi @Ayyanchira, sure, here's before and after shots:

iterable-before iterable-after

Our setup uses IterableInboxFragment directly to show the inbox and it uses InboxMode.ACTIVITY as the inboxMode so that it uses IterableInboxMessageActivity to open individual messages.

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.

3 participants