pit_sms_call_log 0.1.3 copy "pit_sms_call_log: ^0.1.3" to clipboard
pit_sms_call_log: ^0.1.3 copied to clipboard

A plugin for flutter that functions to get the history of sms and calls logs from the mobile devices (Android Only)

PIT SMS and Call Logs #

Use this Plugin to get SMS and Call Logs.

Note: This plugin is still under development, and some Components might not be available yet or still has so many bugs and this plugin just for android only.

Installation #

First, add pit_sms_call_log as a dependency in your pubspec.yaml file.

pit_sms_call_log: ^0.1.3

Important #

this plugin depends on other plugins, you must have a permission to use this plugin, you can use pit_permission plugin or other permission plugin.

You must add this permission in AndroidManifest.xml for Android

for read sms =  <uses-permission android:name="android.permission.READ_SMS"/>

for read call logs = <uses-permission android:name="android.permission.READ_CALL_LOG"/>

Example for Get SMS #

     List<SmsLog> smsList = await PitSmsCallLog.getSmsLog(daysBefore: 3);

Example for Get Call Logs #

     List<CallLog> callLogs = await PitSmsCallLog.getCallLog(daysBefore: 20);
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A plugin for flutter that functions to get the history of sms and calls logs from the mobile devices (Android Only)

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on pit_sms_call_log