ios_real_tmp_dir 0.2.0 copy "ios_real_tmp_dir: ^0.2.0" to clipboard
ios_real_tmp_dir: ^0.2.0 copied to clipboard

PlatformiOSmacOS

Returns application's `/tmp` directory path on iOS and macOS

ios_real_tmp_dir #

Returns application's /tmp directory path on iOS and macOS.

ios_real_tmp_dir uses FileManager.default.temporaryDirectory.path, which resolves to the application's /tmp directory. This differs from path_provider's getTemporaryDirectory(), which returns the app's Library/Caches directory on both iOS and macOS.

Usage #

import 'package:ios_real_tmp_dir/ios_real_tmp_dir.dart';

final String? temporaryDirectory = await IosRealTmpDir().tmpDir();
0
likes
150
points
140
downloads

Documentation

API reference

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

Returns application's `/tmp` directory path on iOS and macOS

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ios_real_tmp_dir

Packages that implement ios_real_tmp_dir