cross_file_android

1.0.0

Implementation of cross_file_platform_interface for Android.

Download archive

Readme

cross_file_android

The Android implementation of cross_file.

This platform supports traditional file systems and Android shared storage.

When using the FileSystem implementations on Android, this implementation returns the implementation created by CrossFileIO.

For the ScopedStorage implementation, this implementation uses native APIs that interact with shared storage.

Usage

This package is endorsed, which means you can simply use cross_file 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

1.0.0

  • Initial release.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add cross_file_android
pubspec.yaml
name: cross_file_android
description: Implementation of cross_file_platform_interface for Android.
repository: https://github.com/flutter/packages/tree/main/packages/cross_file/cross_file_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+cross_file%22
version: 1.0.0

environment:
  sdk: ^3.10.0
  flutter: ">=3.38.0"

flutter:
  plugin:
    implements: cross_file
    platforms:
      android:
        dartPluginClass: CrossFileAndroid
        package: dev.flutter.packages.crossfileandroid
        pluginClass: CrossFileAndroidPlugin

dependencies:
  cross_file_io: ^1.0.0
  cross_file_platform_interface: ^1.0.0
  flutter:
    sdk: flutter
  meta: ^1.17.0

dev_dependencies:
  build_runner: ^2.10.4
  flutter_test:
    sdk: flutter
  mockito: ^5.4.4
  pigeon: ^27.3.2

topics:
  - file
  - cross-file

Version history

VersionPublishedArchiveSHA-256
1.0.0Cached · Upstream SHA-256 matchedDownload7143b2d4…d543dd

Dependencies

cross_file_io "^1.0.0"

cross_file_platform_interface "^1.0.0"

flutter { "sdk": "flutter" }

meta "^1.17.0"