सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
Reflex एक Flutter प्लगइन है जो ऐप्स को आने वाली सूचनाओं को पढ़ने और स्वचालित रूप से कस्टम प्रतिक्रिया भेजने की अनुमति देता है। Android और iOS के लिए डिज़ाइन किया गया, यह सिस्टम-स्तरीय नोटिफिकेशन सेवाओं के साथ एकीकृत है ताकि संदेशों को स्वचालित रूप से मॉनिटर और प्रतिक्रिया की जा सके। चैटबॉट, स्वचालित ग्राहक सहायता या स्मार्ट मैसेजिंग वर्कफ्लो के लिए आदर्श, Reflex विकासकर्ताओं को वास्तविक समय की सूचनाओं पर कार्रवाई करने वाले प्रतिक्रियाशील ऐप्स बनाने की अनुमति देता है। प्लगइन खुला स्रोत है और devsonflutter द्वारा बनाए रखा जाता है, जो pub.dev के माध्यम से सरल एकीकरण प्रदान करता है। यह दोनों प्लेटफॉर्म का समर्थन करता है, जिससे यह क्रॉस-प्लेटफॉर्म मैसेजिंग सुधार के लिए उपयुक्त है।
उपयोग
स्वचालित चैटबॉट प्रतिक्रियाएं
स्मार्ट नोटिफिकेशन हैंडलिंग
ग्राहक समर्थन स्वचालन
रियल-टाइम संदेश मॉनिटरिंग
क्रॉस-प्लेटफॉर्म संदेश ऐप
मुख्य विशेषताएँ
आगमन सूचनाओं को पढ़ता है
कस्टम संदेश के साथ स्वचालित उत्तर
Android और iOS का समर्थन करता है
ओपन-सोर्स और समुदाय-चालित
pub.dev के माध्यम से सरल एकीकरण
इनके लिए उपयुक्त
चैटबॉट बनाने वाले विकासकर्मी
स्वचालित प्रतिक्रिया की आवश्यकता वाले ऐप्स
संदेश और समर्थन उपकरण
प्लेटफॉर्म-संगत नोटिफिकेशन प्रणाली
ऑटोमेशन-केंद्रित Flutter परियोजनाएं
विचार योग्य बातें
नोटिफिकेशन एक्सेस के लिए उपयोगकर्ता की अनुमति की आवश्यकता है
प्रणाली नोटिफिकेशन पढ़ने तक सीमित
सभी डिवाइस निर्माताओं पर काम नहीं कर सकता है
प्लेटफॉर्म-विशिष्ट पृष्ठभूमि निष्पादन पर निर्भर करता है
गोपनीयता-संवेदनशील उपयोग केस में पारदर्शिता की आवश्यकता होती है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
The stream is subscribed for ReflexEvent whenever a notification is received.
Reflex Event
The incoming reflex event contains:
type: ReflexEventType.notification whenever a notification is received to flutter application, and ReflexEventType.reply whenever an automated reply is sent.
packageName: Application's package name from which notifications are received and reply are sent.
title: Notification title
message: Message contained in the notification and while sending reply.
timestamp: Timestamp of the notification received and reply sent.
Listen notification from specific apps
Specify list of package names to listen to notifications from those applications.
If packageNameList: null plugin will listen to notifications from all packages.
Send an automated reply while listening notification.
AutoReply autoReply = AutoReply(
message: "[Reflex] This is an automated reply.",
),
Auto reply specific apps
Specify packageNameList in AutoReply to reply to specific applications.
AutoReply autoReply = AutoReply(
packageNameList: ["com.whatsapp"],
message: "[Reflex] This is an automated reply.",
),
The AutoReply object is used by the Reflex's autoReply field to automatically reply to applications.
Reflex reflex = Reflex(
debug: true,
packageNameList: ["com.whatsapp", "com.tyup"],
packageNameExceptionList: ["com.miui.securitycenter"],
autoReply: AutoReply(
packageNameList: ["com.whatsapp"],
message: "[Reflex] This is an automated reply.",
),
);
If the autoReply field is null in Reflex class, Auto reply feature will be disabled.
Ambiguity
A ReflexException will be thrown if,
Reflex's packageNameList and packageNameExceptionList contains any similar package name.
any package name in AutoReply's packageNameList is contained in Reflex's packageNameExceptionList.
Project Created & Maintained By
Divyanshu Shekhar
Subham Praharaj
Contributions
Contributions are welcomed!
If you feel that a hook is missing, feel free to open a pull-request.
For a custom-hook to be merged, you will need to do the following:
Describe the use-case.
Open an issue explaining why we need this hook, how to use it, ...
This is important as a hook will not get merged if the hook doens't appeal to
a large number of people.
If your hook is rejected, don't worry! A rejection doesn't mean that it won't
be merged later in the future if more people shows an interest in it.
In the mean-time, feel free to publish your hook as a package on https://pub.dev.
A hook will not be merged unles fully tested, to avoid breaking it inadvertendly in the future.