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

discontinued
outdated

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

Fork Star Watch


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';

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',
);

Messages API

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

OTP API

await palSMSMisr.sendOTP(
    phoneNumber: 'xxxxxxxxxxx', // Egyptian Phone Number
);
9
likes
0
pub points
0%
popularity

Publisher

verified publishermsayed.net

Lightweight SMS Misr gateway implementation in dart (unofficial).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on palestine_sms_misr