Viewing version 2.1.4. Open the latest package page.

path_provider_linux

2.1.4

Linux implementation of the path_provider plugin

Download archive

Readme

path_provider_linux

The linux 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.

Changelog

2.1.4

  • Fixes getApplicationSupportPath handling of applications where the application ID is not set.

2.1.3

  • Change getApplicationSupportPath from using executable name to application ID (if provided).
    • If the executable name based directory exists, continue to use that so existing applications continue with the same behaviour.

2.1.2

  • Fixes link in README.

2.1.1

  • Removed obsolete pluginClass: none from pubpsec.

2.1.0

  • Now getTemporaryPath returns the value of the TMPDIR environment variable primarily. If TMPDIR is not set, /tmp is returned.

2.0.2

  • Updated installation instructions in README.

2.0.1

  • Add implements to pubspec.yaml.
  • Add registerWith method to the main Dart class.

2.0.0

  • Migrate to null safety.

0.1.1+3

  • Update Flutter SDK constraint.

0.1.1+2

  • Log errors in the example when calls to the path_provider fail.

0.1.1+1

  • Check in linux/ directory for example/

0.1.1 - NOT PUBLISHED

  • Reverts changes on 0.1.0, which broke the tree.

0.1.0 - NOT PUBLISHED

  • This release updates getApplicationSupportPath to use the application ID instead of the executable name.
    • No migration is provided, so any older apps that were using this path will now have a different directory.

0.0.1+2

  • This release updates the example to depend on the endorsed plugin rather than relative path

0.0.1+1

  • This updates the readme and pubspec and example to reflect the endorsement of this implementation of path_provider

0.0.1

  • The initial implementation of path_provider for Linux
    • Implements getApplicationSupportPath, getApplicationDocumentsPath, getDownloadsPath, and getTemporaryPath

Installing

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

environment:
  sdk: ">=2.12.0 <3.0.0"
  flutter: ">=2.0.0"

flutter:
  plugin:
    implements: path_provider
    platforms:
      linux:
        dartPluginClass: PathProviderLinux

dependencies:
  ffi: ^1.1.2
  flutter:
    sdk: flutter
  meta: ^1.3.0
  path: ^1.8.0
  path_provider_platform_interface: ^2.0.0
  xdg_directories: ^0.2.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  pedantic: ^1.10.0

Version history

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownload6552aaac…5e2089
0.0.1+1Cached · Upstream SHA-256 matchedDownloadb9d28d93…ddac9f
0.0.1+2Cached · Upstream SHA-256 matchedDownload739b0087…3964e5
0.2.0-nullsafetyCached · Upstream SHA-256 matchedDownload7bd0a063…5ebf98
2.0.0Cached · Upstream SHA-256 matchedDownload938d2b65…27c708
2.0.2Cached · Upstream SHA-256 matchedDownloadf8d4b3ba…948c93
2.1.0Cached · Upstream SHA-256 matchedDownload96af2381…e64939
2.1.1Cached · Upstream SHA-256 matchedDownload85b6f96f…8aac35
2.1.2Cached · Upstream SHA-256 matchedDownload368c48ae…c0593f
2.1.3Cached · Upstream SHA-256 matchedDownloadcf3b2c34…272f51
2.1.4Cached · Upstream SHA-256 matchedDownloade4614279…2e9be1
2.1.5Cached · Upstream SHA-256 matchedDownload1e109f4d…4e9621
2.1.6Cached · Upstream SHA-256 matchedDownload367b9311…91e074
2.1.7Cached · Upstream SHA-256 matchedDownloadab0987bf…26c379
2.1.8Cached · Upstream SHA-256 matchedDownload2e32f164…31fbd9
2.1.9Cached · Upstream SHA-256 matchedDownload525ad5e0…86429a
2.1.10Cached · Upstream SHA-256 matchedDownload2ae08f22…f10ad1
2.1.11Cached · Upstream SHA-256 matchedDownloadffbb8cc9…9b3b57
2.2.0Cached · Upstream SHA-256 matchedDownloadba2b77f0…a007b3
2.2.1Cached · Upstream SHA-256 matchedDownloadf7a1fe3a…ac3279
2.2.2Cached · Upstream SHA-256 matchedDownload58c2005f…2b5c16

Dependencies

ffi "^1.1.2"

flutter { "sdk": "flutter" }

meta "^1.3.0"

path "^1.8.0"

path_provider_platform_interface "^2.0.0"

xdg_directories "^0.2.0"