# enablePush

Enables push notifications for the device.

## Syntax

```dart
Future<void> enablePush()
```

## Returns

- `Future<void>` - Completes when push notifications have been enabled.

## Example

```dart
try {
  await SfmcSdk.enablePush();
  print('Push notifications enabled successfully');
} catch (e) {
  print('Failed to enable push notifications: $e');
}
```

## Related Methods

- [isPushEnabled()](/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/flutter_isPushEnabled.md)
- [disablePush()](/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/flutter_disablePush.md)
