You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
5
## [Unreleased]
6
6
### Added
7
+
- New `IterableInboxToolbarView` — an opt-in, reusable toolbar component for the inbox UI. Configurable via the new Kotlin sealed interface `InboxToolbarOption`:
8
+
-`None` (default) — no toolbar; behavior is unchanged from prior SDK versions.
9
+
-`Default` — title-only toolbar above the inbox list.
10
+
-`WithBackButton` — title plus a back navigation icon. The default back action calls `OnBackPressedDispatcher`; override it by having the host Activity or parent Fragment implement `IterableInboxToolbarBackListener`.
11
+
-`Custom(layoutRes)` — inflates the integrator's own toolbar layout. Views tagged with `@id/iterable_inbox_back_button` and `@id/iterable_inbox_title` are auto-wired to the SDK's back handler and title binding respectively. Both ids are optional.
12
+
- Configure programmatically via `IterableInboxFragment.newInstance(...)` (new 2-arg and 6-arg overloads) or via `IterableInboxActivity` intent extras (`TOOLBAR_OPTION` / `TOOLBAR_TITLE`).
13
+
- Requires the host activity to use a `Theme.AppCompat` / `Theme.MaterialComponents` / `Theme.Material3` descendant when the toolbar is enabled.
7
14
- New `IterableInAppDisplayMode` enum to control how in-app messages interact with system bars. Configure via `IterableConfig.Builder.setInAppDisplayMode()`:
8
15
-`FORCE_EDGE_TO_EDGE` (default) — draws in-app content behind system bars with transparent status and navigation bars. This preserves the previous SDK behavior.
9
16
-`FOLLOW_APP_LAYOUT` — matches the host app's system bar configuration automatically.
0 commit comments