Skip to content

Oshinowo/flutter_termii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Termii

pub package License: MIT style: very good analysis


A Flutter plugin that helps developers use messaging channels to verify and authenticate customer transactions

Android iOS Linux macOS Web Windows
Support Any Any Any Any Any Any

Features

Use this plugin in your Flutter app to:

  • Send message
  • Send Bulk message
  • Send Token
  • Send Voice Token
  • Voice Call
  • Generate In-App Token
  • Verify Token
  • View Balance

Getting started

In order to use Termii's APIs, you need to first create an account for free at www.termii.com.

BASE URL

Your Termii account has its own Base URL, which you should use in all API requests. The base URL shown below is a sample base URL. Your base URL can be found on your dashboard.

Retrieving your API Key

Your API key can be obtained from your dashboard settings.

Usage

To use this plugin, add flutter_termii as a dependency in your pubspec.yaml file

dependencies:
  flutter:
    sdk: flutter
  flutter_termii:
import 'package:flutter/material.dart';
import 'package:flutter_termii/flutter_termii.dart';

final termii = Termii(
  url: 'https://api.ng.termii.com',
  apiKey: 'YOUR API KEY',
  senderId: 'CompanyName',
);

final responseData = await termii.sendSms(
  destination: "2349012672787",
  message: "This is a test message",
);

print(responseData);

Credits

Developed with 💙 by Abdulazeez Oshinowo

License

The MIT License (MIT). Please see License File for more information.

Additional information

Termii helps deliver great customer messaging experience. You can dive deep into the full API Reference Documentation to seamlessly integrate it's messaging channels and verification functionalities into your product.