notification_reader

Last updated:

0 purchases

notification_reader Image
notification_reader Images
Add to Cart

Description:

notification reader

notification_reader #
Read Notification in Your Flutter Application.
Getting Started #
Install Plugin In Your Flutter Project #
flutter pub add notification_reader
copied to clipboard
Add This Code in Your AndroidManifest android/app/src/main/AndroidManifest.xml. Inside <application> tag #
<service android:name="com.fluttterbuddy.notification_reader.NotificationService"
android:label="NotificationService"
android:exported="true"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
copied to clipboard
Import Plugin in Your Project: #
import 'package:notification_reader/notification_reader.dart';
copied to clipboard
First Open Notification Reader Setting Using This: #
await NotificationReader.openNotificationReaderSettings;
copied to clipboard
Get Notification Data: #
NotificationData res = await NotificationReader.onNotificationRecieve();
copied to clipboard
Notification Data Class: #
res.packageName; // Application Package Name
res.title; // Notification Title
res.body; // Notification Body
res.data; // Data in Json
copied to clipboard
Buy Me A Coffee #



Buy Me A Coffee Using PhonePe #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.