oursms 0.0.1+2 icon indicating copy to clipboard operation
oursms: ^0.0.1+2 copied to clipboard

This package provides simple lightweight methods in which you can use to send meesages to a phone number.

OurSMS - Flutter #

Flutter API Integration

This package provides simple lightweight methods in which you can use to send meesages to a phone number.

For more info, visit OurSMS service

Usage #

You can simply use it like so:

final OursmsClient client = OursmsClient(key: API_KEY, userId: USER_ID);

// OSM (One Single Message)
final SentMessage sentMessage = await client.sendOneMessage(
    PHONE_NUMBER,
    MESSAGE,
);

// OTP (One Time Password)
final SentMessage sentMessage = await client.sendOtpMessage(
    PHONE_NUMBER,
    OTP_NUMBER,
);

// Get a message status
final MessageStatus messageStatus = await client.getMessageStatus(MESSAGE_ID);

Medium articles by the author #

You can always read the articles I write on my Medium account which I write pretty great Flutter content out there.

Contributions & Support #

Issues and pull requests are always welcome 😄

If you find this package useful for you and liked it, give it a like ❤️ and star the repo ⭐️ it would mean a lot!

License #

MIT

5
likes
110
pub points
17%
popularity

Publisher

verified publisher icondevmuaz.com

This package provides simple lightweight methods in which you can use to send meesages to a phone number.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

dio, equatable, flutter, json_annotation, logger, retrofit

More

Packages that depend on oursms