0 purchases
sms enricher
SMS Enricher Flutter Plugin #
The SMS Enricher Flutter Plugin is a comprehensive solution for accessing and processing SMS messages on Android devices. It allows Flutter apps to request user permissions for SMS access, retrieve SMS messages based on specific filters, enrich SMS data on the device, and securely send the processed data to a designated backend server.
Features #
User Permissions: Request user consent to access SMS messages.
Data Retrieval: Retrieve SMS messages filtered by sender or content.
Data Enrichment: Perform on-device data enrichment, such as sentiment analysis and named entity recognition.
Secure Transmission: Securely send enriched data to a backend endpoint via HTTPS.
Getting Started #
To use the SMS Enricher plugin in your Flutter app, follow these steps:
Installation #
Add sms_enricher to your pubspec.yaml under the dependencies section:
dependencies:
flutter:
sdk: flutter
sms_enricher: ^1.0.0
copied to clipboard
Run flutter pub get to install the plugin.
flutter pub get
copied to clipboard
Usage #
Import the sms_enricher package in your Dart code:
import 'package:sms_enricher/sms_enricher.dart';
copied to clipboard
Request SMS permissions from the user:
bool isPermissionGranted = await SmsEnricher.requestSmsPermission();
copied to clipboard
Retrieve and enrich SMS messages:
List<dynamic> messages = await SmsEnricher.retrieveSmsMessages(targetName: 'Bank');
List<dynamic> enrichedMessages = await SmsEnricher.enrichSmsMessages(messages);
copied to clipboard
Send the enriched data to a backend server:
bool success = await SmsEnricher.sendToBackend(enrichedMessages, 'https://yourbackend.endpoint/api/messages');
if (!success) {
// Handle transmission error
}
copied to clipboard
Security #
Ensure your app complies with the latest privacy regulations. Always request user consent before accessing SMS messages and securely handle the data.
License #
This plugin is released under the MIT License. See the LICENSE file for more details.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.