# Notifications

To configure a notification which displays before a free trial ends, click the **Notifications** button from the **sidebar**:

<img src="__img0" />

You can add a local notification that fires before a free trial ends. After the user starts a free trial, the app will ask them to enable notifications if they haven't already done so.

> **Note**

In sandbox mode, the free trial reminder will fire after x minutes, instead of x days.



Configuration [#configuration]

To turn on a trial reminder notification, click **+ Add Notification**. From there, there are four fields to configure:

<img src="__img1" />

1. **Title**: Shows at the top of the notification.
2. **Subtitle**: Displays directly below the title in a smaller font. Not required.
3. **Body**: Shows in the primary body of the notification.
4. **Delay**: How many days before the trial ends the notification should fire.

Here's where those values show up on a notification:

<img src="__img2" />

These are scheduled as local notifications as soon as they are configured.

Dynamic notification timing [#dynamic-notification-timing]

> **Info**

Requires iOS SDK v4.10.7+ or Android SDK v2.6.6+.



The SDK automatically calculates the actual trial end date based on the product's introductory offer period from the app store. This means notifications are scheduled relative to when the trial **actually ends** — not when it starts.

For example, if you set a delay of 3 days:

| Product trial length | Notification fires on        |
| -------------------- | ---------------------------- |
| 7-day trial          | Day 4 (3 days before end)    |
| 14-day trial         | Day 11 (3 days before end)   |
| 1-month trial        | \~Day 27 (3 days before end) |

This ensures users receive trial-ending reminders at the right time — when the reminder is actually relevant to their subscription decision — regardless of the product's trial length.

> **Warning**

On older SDK versions (pre-4.10.7 on iOS), the notification fires X days **after** the trial starts rather than X days **before** it ends. Upgrade to the latest SDK for accurate timing.