Skip to content

Commit 2fad726

Browse files
Note that the inbox UI requires a FragmentActivity host
IterableInboxFragment needs a FragmentManager, so Compose-first apps (whose host defaults to ComponentActivity) crash at attach when adding it. The SDK has no Compose-native inbox, so the host activity's base class must be switched first. Short note added after the slug routing table, where inbox work is picked up. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 00d809d commit 2fad726

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

iterable-android/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,13 @@ mismatch.
330330
| `updateUser`, profile data fields, JSON merging | `updating-user-profiles` |
331331
| Unknown User Activation (anonymous → identified upgrade) | `setting-up-unknown-user-activation` |
332332

333+
> **Inbox UI is fragment-based.** `IterableInboxFragment` needs a
334+
> `FragmentManager`, so its host must be a `FragmentActivity` /
335+
> `AppCompatActivity`. Compose-first apps default their host to
336+
> `ComponentActivity`, which has none — hosting the fragment there crashes
337+
> at attach (`… is not within a subclass of FragmentActivity`). The SDK ships
338+
> no Compose-native inbox; switch the host activity's base class before adding it.
339+
333340
For tasks that span multiple areas (e.g. "wire up the whole SDK end to end"),
334341
fetch `android-sdk` first — it tells you which others to load and in what
335342
order.

0 commit comments

Comments
 (0)