---
schema_version: "1"
id: 245be91dc0203430a1a19da597cfb4e04852da2ed949c3a054a195a42eccf56c
title: disablePush
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/cordova/disablePush.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/disablePush.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a68526be11e4e4211900e37c60ad30993ec41362f796e4dd3b8a48863942526a
products:
  - Salesforce Engagement SDK
---
# disablePush

Disables push messaging in the native MobilePush SDK.

## Syntax

`MCCordovaPlugin.disablePush([successCallback], [errorCallback])`

## Kind

Static method of `MCCordovaPlugin`.

## Parameters

| Parameter         | Type       | Description |
| ----------------- | ---------- | ----------- |
| `successCallback` | `function` |             |
| `errorCallback`   | `function` |             |
