Skip to content
pubscout

path_provider_android

2.3.1, released 7 months ago by flutter.dev

Android implementation of the path_provider plugin for finding commonly used locations.

WASM-ready
$ flutter pub add path_provider_android
Source repository

What it does

Provides the Android-specific implementation for accessing commonly used paths on the filesystem, such as temporary or application support directories. It is usually consumed via the endorsed main path_provider package.

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

Use it when

  • You are developing a Flutter app for Android and need to find standard filesystem paths.
  • You are using the path_provider package and need the underlying Android platform implementation.

Skip it when

  • You are targeting platforms other than Android and require a platform-agnostic approach (use path_provider instead).

Strengths

  • Automatically included as an endorsed package when using path_provider.
  • Handles Android-specific path resolution using JNI.

Weaknesses

  • Tied directly to the Android platform implementation.
  • Not intended to be used standalone unless directly accessing its specific APIs.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
3

Endorsed plugin, automatically included by path_provider. Add to pubspec.yaml only if importing directly.

Alternatives

Packages that do the same job and could replace path_provider_android.

  • file_picker

    Use the native file explorer to pick single or multiple files, directories, and save files.

  • file_saver

    Save files from bytes, paths, streams, and URLs across Android, iOS, Web, Windows, macOS, and Linux.

  • alh_pdf_view

    Show PDF files or bytes as a Flutter widget on Android and iOS.

  • downloadsfolder

    Retrieve download folder paths and copy files into downloads on mobile and desktop.

Works with

Packages commonly used together with path_provider_android: ones it builds on, ones built on it, and its own family.