FLUTTER ECOSYSTEM

Ayush783/readsms_plugin

Flutter-Plugin zum Lesen von SMS auf Android.

Projektcover von readsms_plugin
Stars
8
Forks
21
Letzter Push (UTC)
08.09.2024
Projektstatus
Aktiv
Aayush sharma GitHub avatar
GITHUB User

Aayush sharma ↗

SDE @ India Today Group | Flutter Developer

India Today GroupDelhi NCROffizielle Website ↗
SprachenDartKotlinRubyObjective-C

Technische Themen

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^2.0.0

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

readsms

This is a plugin made for flutter to read incoming sms on the device as a broadcast stream.

Following steps describe how to use the plugin ReadSms :-

  • Ask the user for Sms permission. You can do this using Permission handler package.
  • Create an instance of ReadSms.
  final plugin = ReadSms();
  • Call the read method on the plugin object;
  plugin.read();
  • Access the stream of SMS exposed by the plugin object and get the incoming SMS.
  plugin.smsStream.listen((sms){
    print(sms.body);
    print(sms.sender);
    print(sms.timeReceived);
  });

That's all you need to do.