---
schema_version: "1"
id: 7d8d18515be0162ecbc78e0bde63a69ba3aab3093e91c8cca087b4b3d1481716
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/cordova/isPushEnabled.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/isPushEnabled.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e1ec043cd03bd62d3b8e0e9473d5a5f86d064a58bbc8922d46d3087f841dc57
products:
  - Salesforce Engagement SDK
---
# isPushEnabled

The current state of the `pushEnabled` flag in the native MobilePush SDK.

## Syntax

`MCCordovaPlugin.isPushEnabled(successCallback, [errorCallback])`

## Kind

Static method of `MCCordovaPlugin`.

## Parameters

| Parameter                 | Type       | Description                        |
| ------------------------- | ---------- | ---------------------------------- |
| `successCallback`         | `function` |                                    |
| `successCallback.enabled` | `boolean`  | Indicates whether push is enabled. |
| `errorCallback`           | `function` |                                    |
