easy_notifications 1.1.7 copy "easy_notifications: ^1.1.7" to clipboard
easy_notifications: ^1.1.7 copied to clipboard

A secure and privacy-focused Flutter plugin for handling local notifications with enhanced features and SOC 2 compliance considerations.

Easy Notifications #

Easy Notifications Logo

pub package License: MIT

A secure and privacy-focused Flutter plugin for handling local notifications with enhanced features and SOC 2 compliance considerations.

Features #

  • 🔒 Secure handling of notification data
  • 🎯 Precise scheduling with timezone support
  • 🖼️ Rich media notifications (images, custom styles)
  • 📱 Cross-platform support (Android & iOS)
  • 🔐 Permission handling best practices
  • 📋 Action buttons support
  • ⏰ Exact timing with background wake-up support
  • 🛡️ Privacy-first approach

Getting Started #

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  easy_notifications: ^1.1.7

Platform Setup #

Android

Add the following permissions to your AndroidManifest.xml:

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

iOS

Add the following keys to your Info.plist:

<key>UIBackgroundModes</key>
<array>
    <string>fetch</string>
    <string>remote-notification</string>
</array>

Basic Usage #

// Initialize the plugin(Not required)
await EasyNotifications.init();

// Request permissions(Not required)
final hasPermission = await EasyNotifications.askPermission();

// Show a simple notification
await EasyNotifications.showMessage(
  title: 'Hello!',
  body: 'This is a notification',
);

// Show a notification with an image
await EasyNotifications.showMessage(
  title: 'Hello!',
  body: 'This is a notification with an image',
  imagePath: 'assets/images/notification_image.jpg',
);

// Schedule a notification
await EasyNotifications.scheduleMessage(
  title: 'Reminder',
  body: 'Time for your meeting!',
  scheduledDate: DateTime.now().add(Duration(hours: 1)),
);

## Recent Updates

### 1.1.6

* Added support for default notification icon configuration
* Added plugin logo
* Improved documentation

### 1.0.5
* Added iOS podspec and native implementation
* Fixed iOS platform support and configuration
* Updated dependencies to latest versions
* Improved error handling and stability

### Android Setup
Make sure to add the following permissions to your Android Manifest:

```xml
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />

Security & Privacy Considerations #

Data Storage #

  • All temporary files are stored in the app's secure directory
  • Images are processed locally without external uploads
  • Notification data is not persisted beyond its lifetime

Permissions #

  • Minimal permissions requested
  • Clear user consent flows
  • Granular permission controls

Best Practices #

  • No sensitive data in notifications
  • Secure local storage handling
  • Privacy-preserving logging

Contributing #

We welcome contributions! Please see our contributing guide for details.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

Compliance #

This plugin is designed with SOC 2 compliance in mind:

  • Security: Implements secure data handling practices
  • Availability: Ensures reliable notification delivery
  • Processing Integrity: Maintains accurate scheduling
  • Confidentiality: Protects user data
  • Privacy: Respects user consent and data rights
46
likes
0
points
164
downloads

Publisher

unverified uploader

Weekly Downloads

A secure and privacy-focused Flutter plugin for handling local notifications with enhanced features and SOC 2 compliance considerations.

Homepage
Repository (GitHub)
View/report issues

Topics

#notifications #scheduling #security

License

unknown (license)

Dependencies

flutter, flutter_local_notifications, path, path_provider, plugin_platform_interface, timezone

More

Packages that depend on easy_notifications