コンテンツにスキップ

通知グループ

Notification grouping stacks related notifications into a single group in the device’s notification center. Even as notifications accumulate, the shade stays tidy, and users can expand the group to see each one.

Notification group shown collapsed and expanded Image source: Android Developers official documentation
ItemRequirement
iOSAny SDK version (handled natively by the OS, iOS 12+)
AndroidFlareLane SDK 1.11.0+ / Android 7.0+

See the official platform docs as well: Apple - threadIdentifier · Android - Create a group of notifications

Set threadId on your Open API notification request. Notifications sharing the same value are stacked into one group.

Terminal window
curl -X POST "https://api.flarelane.com/v1/projects/{PROJECT_ID}/notifications" \
-H "Authorization: Bearer {API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"targetType": "all",
"title": "Order update",
"body": "Your order has shipped!",
"threadId": "order_status"
}'
FieldRequiredDescription
threadIdOptionalGrouping key (max 64 chars). Notifications with the same value are stacked. Supports Liquid variables
  • iOS: notifications sharing a threadId stack into one thread in Notification Center. Individual notifications are preserved
  • Android: once two or more notifications share a threadId, they collapse into a single group card with a count, and expanding it shows each notification individually

Combine with Chat-Style Notifications to make messages from the same sender read like an ongoing conversation.