पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

easy_notifications कवर
पैकेज विवरणv1.2.6

easy_notifications

एक फ्लटर प्लगइन जो सुरक्षा और गोपनीयता विशेषताओं के साथ स्थानीय नोटिफिकेशन को हैंडल करता है। धन्यवाद एंड्रॉइड, आईओएस और वेब प्लेटफॉर्म के साथ समृद्ध अनुकूलन विकल्पों का समर्थन करता है।

AndroidiOSWeb
30-दिन डाउनलोड
118
लाइक
51
Pub अंक
130

पैकेज इंस्टॉल करें

flutter pub add easy_notifications

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

Easy Notifications एक Flutter प्लगइन है जिसका उद्देश्य Android, iOS और Web प्लेटफॉर्म पर स्थानीय नोटिफिकेशन के कार्यान्वयन को सरल बनाना है। इसका बल सुरक्षा और गोपनीयता पर है, नोटिफिकेशन डेटा के लिए मजबूत सुरक्षा प्रदान करता है। धन्यवाद अमूल्य अनुकूलन विकल्पों के, विकासकर्ता अपन ऐप की आवश्यकताओं के अनुसार नोटिफिकेशन के दिखावट और व्यवहार को ढाल सकते हैं। पैकेज नोटिफिकेशन के विश्वसनीय डिलीवरी और प्रबंधन को सुनिश्चित करता है जबकि क्रॉस-प्लेटफॉर्म सुसंगतता बनाए रखता है। समय पर उपयोगकर्ता भागीदारी के लिए सुरक्षित, गोपनीयता-संवेदनशील चेतावनियों की आवश्यकता वाले ऐप्स के लिए आदर्श है।

उपयोग

  • समय-आधारित याद दिलाने भेजें
  • वास्तविक समय अपडेट दिखा रहे हैं
  • पुश-जैसे अलर्ट के माध्यम से उपयोगकर्ता एंगेजमेंट
  • स्वचालित कार्य अधिसूचनाएं
  • व्यक्तिगत चेतावनी योजना

मुख्य विशेषताएँ

  • बढ़ी हुई सुरक्षा और गोपनीयता
  • क्रॉस-प्लेटफ़ॉर्म समर्थन (Android, iOS, Web)
  • अधिक अनुकूलन विकल्प
  • सुरक्षित नोटिफिकेशन डेटा हैंडलिंग
  • विश्वसनीय स्थानीय नोटिफिकेशन डिलीवरी

इनके लिए उपयुक्त

  • सुरक्षित स्थानीय चेतावनी की आवश्यकता वाले ऐप्स
  • उपयोगकर्ता गोपनीयता को प्राथमिकता देने वाले विकासकर्ता
  • क्रॉस-प्लेटफ़ॉर्म आवश्यकताओं वाले प्रोजेक्ट
  • नोटिफिकेशन-भारी एप्लिकेशन
  • आसान एकीकरण की तलाश में टीमें

विचार योग्य बातें

  • पूर्ण कार्यक्षमता के लिए प्लेटफॉर्म-विशिष्ट सेटअप की आवश्यकता होती है
  • मोबाइल की तुलना में वेब समर्थन में सीमित विशेषताएं हो सकती हैं
  • कुछ प्लेटफॉर्म पर अनुमतियों को हाथ से संभालना होगा
  • दूरस्थ या सर्वर-चालित नोटिफिकेशन के लिए उपयुक्त नहीं
  • मूल समय ट्रिगर्स के आगे प्रगत शेड्यूलिंग सीमित

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Easy Notifications

Easy Notifications Logo

Pub Version License: MIT Platform Support Flutter Support Pub Points Support me

A secure and privacy-focused Flutter plugin for handling local notifications with enhanced features and SOC 2 compliance considerations. Supports Android, iOS, Web platforms.

Features

  • 🔒 Secure handling of notification data
  • 🎯 Precise scheduling with timezone support
  • 🖼️ Rich media notifications (images, custom styles)
  • 📱 Cross-platform support (Android, iOS, Web)
  • 🔐 Granular permission controls
  • 📋 Action buttons support
  • ⏰ Exact timing with background wake-up support
  • 🛡️ Privacy-first approach
  • 🎨 Highly customizable appearance (NotificationStyle)
  • 🔧 Advanced configuration (NotificationSettings)
  • 🔄 JSON serialization support

Getting Started

Installation

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

dependencies:
  easy_notifications: ^1.2.5
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"/>

This plugin depends on flutter_local_notifications, which requires Android core library desugaring. Add this to your app's android/app/build.gradle.kts:

android {
  //...
  compileOptions {
    isCoreLibraryDesugaringEnabled = true
  }
}

dependencies {
  coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
}

(build.gradle instead of build.gradle.kts? See the Android docs for the Groovy syntax.)

iOS

Add the following keys to your Info.plist:

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

To enable web notifications, you need to add the following script to your index.html file:

<script>
  if ('Notification' in window) {
    Notification.requestPermission().then(permission => {
      if (permission === 'granted') {
        console.log('Notification permission granted.');
      }
    });
  }
</script>
Basic Usage
// Initialize the plugin
await EasyNotifications.init();

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

// Show notification with image and custom style
await EasyNotifications.show(
  title: 'Styled Notification',
  body: 'With custom appearance',
  style: NotificationStyle(
    backgroundColor: '#FFFFFF',
    titleColor: '#000000',
    padding: const EdgeInsets.all(16),
  ),
);

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

Usage

EasyNotifications.showMessage(
  title: 'New Message',
  body: 'You have a new notification',
  id: 1001, // Optional custom ID
);

Notifications Preview

Preview

Recent Updates

1.2.6
  • Removed inaccurate return-value docs on hide(), updateMessage(), and scheduleMessage()
  • Documented the Android core library desugaring setup required by flutter_local_notifications
1.2.5
  • Fixed web notifications registration
  • Added proper error handling for web platform
1.2.4
  • Added back NotificationLevel class for backwards compatibility
1.2.3
  • Fixed platform support documentation
  • Removed unsupported platforms from pubspec.yaml

Security & Privacy

Data Handling
  • 🔐 All sensitive data encrypted at rest
  • 🗑️ Automatic cleanup of temporary files
  • 📁 Secure local storage practices
Compliance
  • SOC 2 Type II compliant architecture
  • GDPR-ready data processing
  • CCPA privacy controls

Contributing

We welcome contributions! Please see our contributing guide.

License

MIT License - see LICENSE for details.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 11 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।