# enablePush

Enables push messaging in the MobilePush SDK.

## Syntax

```javascript
MCReactModule.enablePush();
```

## Returns

- `void` - No return value.

## Example

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

const enablePushNotifications = () => {
  try {
    MCReactModule.enablePush();
    console.log("Push notifications enabled");
  } catch (error) {
    console.error("Error enabling push:", error);
  }
};
```

## See Also

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