# How does flight mode impact push notification reception?

Notifications are not received when the device is in flight mode (except when Wi-fi is activated). However, once this mode is turned off, the pending notifications may be delivered to the user, depending on the OS:&#x20;

## On iOS <a href="#on-ios" id="on-ios"></a>

After flight mode is deactivated, only the last push sent will be received. This is the behavior of the Apple / APNS push API, and does not depend on Batch.&#x20;

{% hint style="warning" %}
If you want more information, see the **technical documentation** [here](https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW5).
{% endhint %}

## On Android <a href="#on-android" id="on-android"></a>

By default, Batch offers the same behavior as iOS, but you have two ways to control it.

**1. Via the "**[**Collapse Key**](https://doc.batch.com/dashboard/push/message-edition#fcm-collapse-key)**"**

On the dashboard, you can ensure that all pushes are received:

* From the **Creation Campaign Form** > **Advanced Settings** > **Disable the Collapse Key**:

[![](https://downloads.intercomcdn.com/i/o/1078121613/252b326c41414e488320c063/CleanShot+2024-06-11+at+12_14_02.png?expires=1741883400\&signature=2df7960b49161368995f730176e6bdbf1925a6ac3c3d0184bb27146413f2a9b7\&req=dSAgHsh8nIdeWvMW1HO4zUCekxYRd6Fyw55E8m6zhfZbMVwYkGz73ydC6w9c%0AO52xxHZZ9Mn8wKfxYHc%3D%0A)](https://downloads.intercomcdn.com/i/o/1078121613/252b326c41414e488320c063/CleanShot+2024-06-11+at+12_14_02.png?expires=1741883400\&signature=2df7960b49161368995f730176e6bdbf1925a6ac3c3d0184bb27146413f2a9b7\&req=dSAgHsh8nIdeWvMW1HO4zUCekxYRd6Fyw55E8m6zhfZbMVwYkGz73ydC6w9c%0AO52xxHZZ9Mn8wKfxYHc%3D%0A)

* From the settings of your **Android app** > **Push Settings** > **Default Push Settings** > **Disable the Collapse Key** and click on the "**Update Push Settings**" button:

[![](https://downloads.intercomcdn.com/i/o/1078122609/40922891b287a1664f9fc986/CleanShot+2024-06-11+at+12_14_35.png?expires=1741883400\&signature=92a2a86a913a9b7d2c561f9963814e3e06f79b44d5d69bb7734f6b84279df1f9\&req=dSAgHsh8n4dfUPMW1HO4zcIgPzkQ3UDqZLHPPl%2B99vQfdeeZWT0qrL9ThbS1%0AjVriRBXwBZ24YRuaCRU%3D%0A)](https://downloads.intercomcdn.com/i/o/1078122609/40922891b287a1664f9fc986/CleanShot+2024-06-11+at+12_14_35.png?expires=1741883400\&signature=92a2a86a913a9b7d2c561f9963814e3e06f79b44d5d69bb7734f6b84279df1f9\&req=dSAgHsh8n4dfUPMW1HO4zcIgPzkQ3UDqZLHPPl%2B99vQfdeeZWT0qrL9ThbS1%0AjVriRBXwBZ24YRuaCRU%3D%0A)

**2. Via** [**APIs**](https://doc.batch.com/api/prerequisites)

You can set up a specific behavior or a mix of different behaviors, for instance:

* All the notifications are kept and will be delivered

or

* All the transactional pushes are delivered, but only the last marketing push is delivered

{% hint style="warning" %}
&#x20;If you set up a [TTL](https://doc.batch.com/dashboard/push/message-edition#expiration-ttl) on your push or in your app settings, if the push is not sent in the fixed limit, it will never be sent.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.batch.com/getting-started/other/faq/how-does-flight-mode-impact-push-notification-reception.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
