palestine_sms_misr 0.0.9 copy "palestine_sms_misr: ^0.0.9" to clipboard
palestine_sms_misr: ^0.0.9 copied to clipboard

Lightweight SMS Misr gateway implementation in dart (unofficial).

palestine_sms_misr (unofficial) #

Part of PalestineDevelopers #

Lightweight SMS Misr gateway implementation in dart (unofficial).

License Pub Example

PUB GitHub release GitHub stars GitHub forks

Build Status


Table Of Contents #


Features #

  • SMS Misr Implementation for both
    • Message API
    • OTP API

Getting started #

To start, import package

import 'package:palestine_sms_misr/palestine_sms_misr.dart';
copied to clipboard

Usage #

Create an instance.

PalSMSMisr palSMSMisr = PalSMSMisr(
    userName: 'xxxxxxxx',
    password: 'xxxxxxxx',
    senderName: 'xxxxx',
    language: '2', // 1, 2
    otpToken: 'xxxxxx-xxxx-xxx-xxx-xxxxxx',
    otpSignature: 'xxxxxxxx',
);
copied to clipboard

Messages API

await palSMSMisr.sendMessage(
    phoneNumbers: 'xxxxxxxxxxx,xxxxxxxxxxx', // Egyptian Phone Number
    message: 'Dev Test',
);
copied to clipboard

OTP API

await palSMSMisr.sendOTP(
    phoneNumber: 'xxxxxxxxxxx', // Egyptian Phone Number
    code: '12xxx', // optional
);
copied to clipboard
10
likes
140
points
38
downloads

Publisher

verified publishermsayed.net

Weekly Downloads

2024.09.17 - 2025.04.01

Lightweight SMS Misr gateway implementation in dart (unofficial).

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on palestine_sms_misr