direct_flutter_sms

Creator: coderz1093

Last updated:

0 purchases

direct_flutter_sms Image
direct_flutter_sms Images

Languages

Categories

Add to Cart

Description:

direct flutter sms

direct_flutter_sms #
A Flutter package to enable direct sending of SMS messages from your Flutter application, without relying on external services.
Features #

Send SMS messages directly from your Flutter app.
Platform-specific implementation for Android using SmsManager.

Getting started #
To start using this package, ensure you have Flutter installed and create a new Flutter project. Then, add direct_flutter_sms to your pubspec.yaml file:
dependencies:
flutter:
sdk: flutter
direct_flutter_sms: ^1.0.0
copied to clipboard
For Android, you'll also need to add the necessary permissions in your AndroidManifest.xml file:
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

copied to clipboard
Usage #
import 'package:direct_flutter_sms/direct_flutter_sms.dart';

void main() {
SmsService.sendSms('555-1234', 'Hello from direct_flutter_sms!');
}

copied to clipboard
Additional information #

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.