# disablePush

Disables push messaging in the MobilePush SDK.

## Syntax

```javascript
MCReactModule.disablePush();
```

## Returns

- `void` - No return value.

## Example

```javascript
import { MCReactModule } from "react-native-marketingcloudsdk";

const disablePushNotifications = () => {
  try {
    MCReactModule.disablePush();
    console.log("Push notifications disabled");
  } catch (error) {
    console.error("Error disabling push:", error);
  }
};
```

## See Also

- [isPushEnabled() Method](/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/react_isPushEnabled.md)
- [enablePush() Method](/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/react_enablePush.md)
