Viewing version 2.2.2. Open the latest package page.

path_provider_android

2.2.2

Android implementation of the path_provider plugin.

Download archive

Readme

path_provider_android

The Android implementation of path_provider.

Usage

This package is endorsed, which means you can simply use path_provider normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Changelog

2.2.2

  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
  • Updates annotations lib to 1.7.1.

2.2.1

  • Updates annotations lib to 1.7.0.

2.2.0

  • Adds implementation of getDownloadsDirectory().

2.1.1

  • Adds pub topics to package metadata.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

2.1.0

  • Adds getApplicationCachePath() for storing app-specific cache files.
  • Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.

2.0.27

  • Fixes compatibility with AGP versions older than 4.2.

2.0.26

  • Adds a namespace for compatibility with AGP 8.0.

2.0.25

  • Fixes Java warnings.

2.0.24

  • Clarifies explanation of endorsement in README.
  • Aligns Dart and Flutter SDK constraints.
  • Updates compileSdkVersion to 33.

2.0.23

  • Updates links for the merge of flutter/plugins into flutter/packages.
  • Updates minimum Flutter version to 3.0.

2.0.22

  • Removes unused Guava dependency.

2.0.21

  • Updates code for no_leading_underscores_for_local_identifiers lint.
  • Updates minimum Flutter version to 2.10.
  • Upgrades androidx.annotation version to 1.5.0.
  • Upgrades Android Gradle plugin version to 7.3.1.

2.0.20

  • Reverts changes in versions 2.0.18 and 2.0.19.

2.0.19

  • Bumps kotlin to 1.7.10

2.0.18

  • Bumps androidx.annotation:annotation version to 1.4.0.
  • Bumps gradle version to 7.2.2.

2.0.17

  • Lower minimim version back to 2.8.1.

2.0.16

  • Fixes bug with getExternalStoragePaths(null).

2.0.15

  • Switches the medium from MethodChannels to Pigeon.

2.0.14

  • Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.

2.0.13

  • Fixes typing build warning.

2.0.12

  • Returns to using a different platform channel name, undoing the revert in 2.0.11, but updates the minimum Flutter version to 2.8 to avoid the issue that caused the revert.

2.0.11

  • Temporarily reverts the platform channel name change from 2.0.10 in order to restore compatibility with Flutter versions earlier than 2.8.

2.0.10

  • Switches to a package-internal implementation of the platform interface.

2.0.9

  • Updates Android compileSdkVersion to 31.

2.0.8

  • Updates example app Android compileSdkVersion to 31.
  • Fixes typing build warning.

2.0.7

  • Fixes link in README.

2.0.6

  • Split from path_provider as a federated implementation.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'path_provider_android:2.2.2'
pubspec.yaml
name: path_provider_android
description: Android implementation of the path_provider plugin.
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.2.2

environment:
  sdk: ">=3.0.0 <4.0.0"
  flutter: ">=3.10.0"

flutter:
  plugin:
    implements: path_provider
    platforms:
      android:
        package: io.flutter.plugins.pathprovider
        pluginClass: PathProviderPlugin
        dartPluginClass: PathProviderAndroid

dependencies:
  flutter:
    sdk: flutter
  path_provider_platform_interface: ^2.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  integration_test:
    sdk: flutter
  pigeon: ^9.2.4
  test: ^1.16.0

topics:
  - files
  - path-provider
  - paths

Version history

VersionPublishedArchiveSHA-256
2.0.6Cached · Upstream SHA-256 matchedDownloadc30ec352…20023c
2.0.7Cached · Upstream SHA-256 matchedDownload034bdf99…a6adb6
2.0.8Cached · Upstream SHA-256 matchedDownload8935e337…090187
2.0.9Cached · Upstream SHA-256 matchedDownload1667b392…21440a
2.0.10Cached · Upstream SHA-256 matchedDownload97a64432…81b9cb
2.0.11Cached · Upstream SHA-256 matchedDownloadc69109ba…3aaefc
2.0.12Cached · Upstream SHA-256 matchedDownload8b759fb6…95c54d
2.0.13Cached · Upstream SHA-256 matchedDownload32bbab16…0d068c
2.0.14Cached · Upstream SHA-256 matchedDownloaddfaa152e…651d4c
2.0.15Cached · Upstream SHA-256 matchedDownload33940f96…90e282
2.0.16Cached · Upstream SHA-256 matchedDownloadcf7c403a…46c5d8
2.0.17Cached · Upstream SHA-256 matchedDownload833c8bcb…0db748
2.0.18Cached · Upstream SHA-256 matchedDownload6479c60b…d81249
2.0.19Cached · Upstream SHA-256 matchedDownload48230852…e5492b
2.0.20Cached · Upstream SHA-256 matchedDownload4d554266…ad08d8
2.0.21Cached · Upstream SHA-256 matchedDownload1dab723d…60c5e1
2.0.22Cached · Upstream SHA-256 matchedDownloada776c088…76c15e
2.0.23Cached · Upstream SHA-256 matchedDownload7623b7d4…54b83e
2.0.24Cached · Upstream SHA-256 matchedDownload019f18c9…ac0ae7
2.0.25Cached · Upstream SHA-256 matchedDownloadda97262b…90366a
2.0.26Cached · Upstream SHA-256 matchedDownload3e58242e…efd829
2.0.27Cached · Upstream SHA-256 matchedDownload2cec049d…6bee86
2.1.0Cached · Upstream SHA-256 matchedDownload5d44fc33…d22ad8
2.1.1Cached · Upstream SHA-256 matchedDownload71c95ee2…2688c5
2.2.0Cached · Upstream SHA-256 matchedDownload6b8b19bd…0df3f1
2.2.1Cached · Upstream SHA-256 matchedDownloade595b986…905f72
2.2.2Cached · Upstream SHA-256 matchedDownload477184d6…c48668
2.2.3Cached · Upstream SHA-256 matchedDownload51f0d2c5…3c6b7f
2.2.4Cached · Upstream SHA-256 matchedDownloada248d814…b3b41d
2.2.5Cached · Upstream SHA-256 matchedDownload9c96da07…e72514
2.2.6Cached · Upstream SHA-256 matchedDownloadbca87b01…f3a72a
2.2.7Cached · Upstream SHA-256 matchedDownload30c5aa82…ff2f5e
2.2.8Cached · Upstream SHA-256 matchedDownloade84c8a53…d61193
2.2.9Cached · Upstream SHA-256 matchedDownload49053967…e2abeb
2.2.10Cached · Upstream SHA-256 matchedDownload6f01f8e3…a37eb7
2.2.11Cached · Upstream SHA-256 matchedDownloadf7544c34…13b1cc
2.2.12Cached · Upstream SHA-256 matchedDownloadc4644281…294d4a
2.2.14Cached · Upstream SHA-256 matchedDownload8c4967f8…691ef7
2.2.15Cached · Upstream SHA-256 matchedDownload4adf4fd5…86edf2
2.2.16Cached · Upstream SHA-256 matchedDownload0ca7359d…ae6c12
2.2.17Cached · Upstream SHA-256 matchedDownloadd0d310be…2b35e9
2.2.18Cached · Upstream SHA-256 matchedDownload99338140…0066db
2.2.19Cached · Upstream SHA-256 matchedDownload3b4c1fc3…380c37
2.2.20Cached · Upstream SHA-256 matchedDownloade122c5ea…85cb16
2.2.21Cached · Upstream SHA-256 matchedDownload95c68a74…ecee5a
2.2.22Cached · Upstream SHA-256 matchedDownloadf2c65e21…3b580e
2.2.23Cached · Upstream SHA-256 matchedDownload149441ca…0912ba
2.3.0Cached · Upstream SHA-256 matchedDownload914a0748…f302c9
2.3.1Cached · Upstream SHA-256 matchedDownload69cbd515…2dabcd

Dependencies

flutter { "sdk": "flutter" }

path_provider_platform_interface "^2.1.0"