Anatomy of a notification
The same notification takes three forms: on the lock screen, as a banner while the phone is in use, and expanded when the person long-presses or pulls it open.
- Sunday 25 October12:00
Pay your bills from the app
nowLock screen
Pay your bills from the app
nowBanner, phone in use
- Sunday 25 October12:00
Karam Pay
Pay your bills from the app
nowWater, power, internet: settle your bills in two taps, without going anywhere.
Pay a bill
Later
Expanded, with image and actions
Karam Pay
Pay your bills from the app
nowWater, power, internet: settle your bills in two taps, without going anywhere.
Pay a bill
Later
The parts, one by one
- App iconYour app’s, never Rassilo’s. On Android, a small monochrome icon in the header.
- App nameThe name the system shows: it is your sender name for push.
- TimeSet by the system, in the phone’s language and time zone.
- TitleThe essential, in one line. It must make sense alone.
- BodyThe detail. Cut to the space available.
- ImageOnly in the expanded view. Never put essential information in it.
- ActionsShort verbs that say what happens.
Tapping the notification itself opens its deep link.
Lengths and truncation
The system cuts whatever doesn’t fit, without warning. Write your text below and see where each platform cuts it.
Try your text
Transfer received
nowTransfer received
Transfer received
Per-platform landmarks
| Part | iOS | Android |
|---|---|---|
| Visible title | One line, about 40 characters | One line, about 40 characters |
| Body, collapsed | Up to 4 lines | One line |
| Body, expanded | Full text | About 7 lines |
| Image | In the expanded view | Large 2:1 picture, in the expanded view |
| Actions | Up to 4, in a menu under the notification | Up to 3 buttons under the text |
| Icon | The app icon | Small monochrome icon, optional large icon |
- The title stands alone
- On a lock screen previews may be hidden: the title is sometimes all that’s left.
- No codes, no full balance
- A verification code or a balance must not show on a screen anyone can see.
- One notification, one idea
- If the text needs two actions, send an in-app inbox message instead.
Deep links
Every notification and every inbox message can open a specific screen of your app. Always plan a web fallback page.
- The person taps the notificationOr an action button, which can carry its own link.
- Your app opens on the right screenIf it is installed: app scheme, or universal link (iOS) and App Link (Android).
- Otherwise the web page opensThe same address, served by your site: nothing is lost.
curl -X POST https://api.rassilo.ai/v1/messages \
-H "Authorization: Bearer $RASSILO_API_KEY" \
-H "Content-Type: application/json" \
-H "X-Idempotency-Key: $(uuidgen)" \
-d '{
"channel": "push",
"to": { "contact_id": "ct_8K2Q4M" },
"push": {
"title": "Transfer received",
"body": "Fatimetou sent you 2 500 MRU. Tap to see the details.",
"deep_link": "karampay://transactions/txn_7QX1DE",
"fallback_url": "https://karampay.example/t/txn_7QX1DE"
}
}'Illustrative example: today the API refuses « channel: push » and accepts only sms and whatsapp. Field names may change; the API reference is authoritative.
Link formats
- App scheme
karampay://transactions/txn_7QX1DEOpens the app if installed, otherwise nothing. - Universal link (iOS) and App Link (Android)
https://karampay.example/t/txn_7QX1DEOpens the app if installed, otherwise the web page. Prefer these.
Arabic and reading direction
The system lays the notification out by the phone’s language; the text follows its own. The two don’t always match.
Transfert reçu
maintenantPhone in French, message in French
تحويل وارد
الآنPhone in Arabic, message in Arabic
تحويل وارد
maintenantPhone in French, message in Arabic
- The header follows the phone
- Icon, app name and time sit where the system language puts them. You can’t change that, and that’s right.
- The text follows its language
- Direction comes from the first strong letter. Start an Arabic message with an Arabic word, not a number.
- Isolate amounts and IDs
- Wrap “2 500 MRU”, a number or a reference in Unicode isolates (U+2068 and U+2069) so they never flip.
In-app inbox
Messages stay in the app, as a list then a detail view. Unlike push they don’t go away: this is where longer messages go, with an image and a button.
Messages
1The list
Your bills, paid in two taps
25 Oct 2026
You can now pay your water, power and internet bills straight from Karam Pay.
Pick the provider, enter your customer number, confirm: the receipt lands in this inbox.
The detail
Tap a message in the list to open it in the detail view.
- Unread dot
- An unread message carries a dot in the app’s colour.
- Title and preview
- The title in bold, two lines of preview at most.
- Image card
- For an offer or an announcement, the image leads.
Other states
Messages
No messages yet
Empty
Messages
Loading
Messages
No connection right now.
RetryOffline
Tenant theming
The inbox takes on the look of the app that hosts it. A few settings are enough; the rest — sizes, spacing, reading order — is fixed by the SDK.
The same inbox, two apps
Messages
2- Your bills, paid in two taps3 hr ago
- Transfer received17 hr ago
- Your October statement is ready4 days ago
Karam Pay
Messages
2- Flash sales this weekend4 hr ago
- Your order is on its way20 hr ago
- New in store5 days ago
Sahel Market
Configuration in the app
RassiloInbox.theme = RassiloTheme(
primaryColor: "#1F4FD1",
logo: .initials("KP"),
cornerRadius: 14,
font: .system,
appearance: .followSystem
)Illustrative SDK API names: the SDK is not published yet.
RassiloInbox.theme = RassiloTheme(
primaryColor = "#B8461B",
logo = Logo.Initials("SM"),
cornerRadius = 22,
font = R.font.app_title,
appearance = Appearance.DARK
)Illustrative SDK API names: the SDK is not published yet.
| Setting | What it changes | Karam Pay | Sahel Market |
|---|---|---|---|
| Primary colour | Unread dot, buttons, links. The text colour on top is computed to stay readable. | #1F4FD1 | #B8461B |
| Logo or initials | At the top of the inbox and in messages without an image. | Initials KP | Initials SM |
| Corner radius | Cards, images and buttons. | 14 px | 22 px |
| Font | The system font by default, or a file the app provides. | System font | App font |
| Light or dark mode | Follows the phone, or set by the app. | Follows the phone | Always dark |