Viewing version 1.0.1. Open the latest package page.

android_file_picker

1.0.1

Android implementation of the file_picker plugin, supporting file picking, saving, and Storage Access Framework (SAF) URI grants.

Showing cached metadata. Upstream refresh is currently unavailable.

Download archive

Readme

android_file_picker

The Android implementation of file_picker.

Usage

This package is endorsed, which means you can simply use file_picker as normal, and the Android implementation will be automatically included.

Changelog

1.0.1

  • Improved package description, added example, and added missing API documentation.

1.0.0

  • Initial release of Android implementation package for file_picker.
  • Removed the Apache Tika dependency (~300 KB) used for MIME type detection in saveFile(). MIME types are now resolved from the file name extension via MimeTypeMap, with URLConnection.guessContentTypeFromStream as a content-sniffing fallback when no extension is available. #2101

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'android_file_picker:1.0.1'
pubspec.yaml
name: android_file_picker
description: Android implementation of the file_picker plugin, supporting file picking, saving, and Storage Access Framework (SAF) URI grants.
version: 1.0.1
homepage: https://github.com/miguelpruivo/flutter_file_picker/tree/master/packages/file_picker_android
repository: https://github.com/miguelpruivo/flutter_file_picker/tree/master/packages/file_picker_android
topics:
  - file-picker
  - android

resolution: workspace

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

flutter:
  plugin:
    implements: file_picker
    platforms:
      android:
        package: com.mr.flutter.plugin.filepicker
        pluginClass: FilePickerPlugin
        dartPluginClass: FilePickerAndroid

dependencies:
  flutter:
    sdk: flutter
  file_picker_platform_interface: ^3.0.0
  cross_file: ^0.3.5+4
  path: ^1.9.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0

Version history

VersionPublishedArchiveSHA-256
1.0.0Cached · Upstream SHA-256 matchedDownload24ccc79c…2d721c
1.0.1Cached · Upstream SHA-256 matchedDownload665a5a57…5767be
1.0.2Cached · Upstream SHA-256 matchedDownload3384b626…ec0241
1.0.3Cached · Upstream SHA-256 matchedDownload1f111ed6…9a1581
1.1.0Cached · Upstream SHA-256 matchedDownload0d84bb91…77a913
1.1.1Cached · Upstream SHA-256 matchedDownload014c74ab…fb2444
2.0.0Cached · Upstream SHA-256 matchedDownload14ab2776…d8c53d
2.0.1Cached · Upstream SHA-256 matchedDownload537bce9a…588388
2.1.0Cached · Upstream SHA-256 matchedDownload0aac2806…c8fbbb
2.1.1Cached · Upstream SHA-256 matchedDownloade94229cc…5d0060
2.1.2Cached · Upstream SHA-256 matchedDownload03d3dd3c…e161a8

Dependencies

cross_file "^0.3.5+4"

file_picker_platform_interface "^3.0.0"

flutter { "sdk": "flutter" }

path "^1.9.0"