---
schema_version: "1"
id: ac669a8f0a0f5b1e00ca2dceca5558c5c5ed1b648b2495b4e4800c79816dec59
title: isPushEnabled
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/react/react_isPushEnabled.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/react_isPushEnabled.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ee32e85c6d793f8397bdd3a5ab03d4fc5e3adc94a34bda4d9c06d8523021e912
products:
  - Salesforce Engagement SDK
---
# isPushEnabled

The current state of the `pushEnabled` flag in the MobilePush SDK.

## Syntax

```javascript
MCReactModule.isPushEnabled() ⇒ Promise.<boolean>
```

## Returns

- `Promise.<boolean>` - A promise to the boolean representation of whether push is enabled.

## Example

```javascript
import { MCReactModule } from "react-native-marketingcloudsdk";

const checkPushStatus = async () => {
  try {
    const isEnabled = await MCReactModule.isPushEnabled();
    console.log("Push enabled:", isEnabled);
  } catch (error) {
    console.error("Error checking push status:", error);
  }
};
```

## See Also

- [enablePush() Method](https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/react_enablePush.md)
- [disablePush() Method](https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/react_disablePush.md)
