---
title: "Android encrypted push messages"
slug: "android-push-encrypted"
updated: 2026-06-09T21:35:50Z
published: 2026-06-09T21:35:50Z
canonical: "docs.xtremepush.com/android-push-encrypted"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xtremepush.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Android encrypted push messages

Encrypt push messages to devices

[Encrypted mobile push](/documentation/docs/encrypted-mobile-push) allows messages to be required or optionally delivered using encryption, to avoid the message content being sent in plain text through the push message gateway.

> [!TIP]
> Enterprise Push package
> 
> The encrypted mobile push feature is part of the Xtremepush Enterprise Push package, which is a paid feature. Please review our dedicated [guide](/documentation/docs/enterprise-push-package) for more details.

> [!NOTE]
> Minimum SDK version
> 
> This feature is only available in Xtremepush [Android SDK versions](/documentation/docs/android-sdk-releases) starting from v8.1.0.

Encrypted push can be turned on by calling `setEncryptedMessagesEnabled(true)` when initialising the Xtremepush SDK in your activities' `onCreate` method, by adding the line to `PushConnector.builder`:

```java
new PushConnector.Builder("XPUSH_APP_KEY", "GOOGLE_SENDER_ID")
      .setEncryptedMessagesEnabled(true) 
      .create(this);
```
