Skip to content

A simple and lightweight package which uses OurSMS service APIs.

License

Notifications You must be signed in to change notification settings

devmuaz/oursms_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple and lightweight package which uses OurSMS service APIs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages