Skip to content
pubscout

call_log

6.0.1, released a year ago by 4q.eu

Access and query call history logs on Android.

WASM-ready
$ flutter pub add call_log
Source repository

What it does

Allows Flutter apps to read, query, delete, and export device call history logs. Supports Android platforms only.

AI-written summary of version 6.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display or analyze call history logs within an Android application.
  • You need to export or delete call log entries programmatically.

Skip it when

  • Your application targets iOS, as iOS does not provide an API for accessing call history.
  • You only require basic device info or sharing capabilities without call log access.

Strengths

  • Provides straightforward methods to query call logs with custom parameters like date ranges and durations.
  • Supports deleting specific or all call logs as well as exporting to JSON.
  • Handles checking and requesting runtime permissions automatically.

Weaknesses

  • Android only; completely unsupported on iOS due to platform limitations.
  • Requires manual addition of native Android permissions and gradle build configurations.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires adding Android permissions (READ_CALL_LOG, WRITE_CALL_LOG, READ_PHONE_NUMBERS) and enabling coreLibraryDesugaring in build.gradle.

Iterable<CallLogEntry> entries = await CallLog.get();

Alternatives

Packages that do the same job and could replace call_log.