Search packages, repositories and app categories

GitHub repositoryiqbalmineraltown/flutter_sms_receiver

flutter_sms_receiver

SMS Receiver API Flutter Plugin

flutter_sms_receiver project cover
Stars
22
Forks
24
Last push (UTC)
Jan 10, 2024
Project status
Archived

Original README

English project snapshot. Visit GitHub for the latest content.

sms_receiver

NOTE: This plugin might no longer needed due to flutter/flutter#13015

pub package

Flutter plugin for reading incoming-and-expected SMS only

Currently developed for Android: reading message without requesting SMS permission.

Usage

  • Generate acceptable message format

    • DON'T generate hash message on runtime using AppSignatureHelper. Store hash as constant inside your app, either on the server or client.
  • Add dependency to this package

  • Create SmsReceiver() with onSmsReceived(String message) handler.

  • Start listening with startListening()

  • Stop listening with stopListening()

  • Once sms received or receiver timed out, use startListening again. See example

    • Receiver timeout is 5 minutes. Currently not configurable.

Future Development

  • Add/Combine with iOS counterpart
Iqbal GitHub avatar
GitHub author

Iqbal ↗

LanguagesKotlinDartRubySwiftObjective-C

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^1.0.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗