Skip to content

Releases: anggrayudi/SimpleStorage

1.5.2

Choose a tag to compare

@anggrayudi anggrayudi released this 07 Dec 08:28

Fixes

  • DocumentFileCompat.mkdirs() creates extra subfolder (issue #105)

1.5.1

Choose a tag to compare

@anggrayudi anggrayudi released this 01 Nov 09:08

Fixes

  • Fixed crash when requesting storage access for SD card on API 29 and lower.

1.5.0

Choose a tag to compare

@anggrayudi anggrayudi released this 14 Oct 15:37

Features

  • Added FileFullPath(Context, StorageType, String) to support dynamic SD card ID (requires API 30+)
  • Added onConflict() callback for ZIP decompression (issue #95)
  • Added onConflict() callback to:
    • DocumentFile#makeFile()
    • DocumentFile#makeFolder()
    • File#makeFile()
    • File#makeFolder()
  • Added initial path parameter (issue #98) to:
    • SimpleStorage#requestStorageAccess()
    • SimpleStorage#createFile()
    • SimpleStorage#openFilePicker()
    • SimpleStorage#openFolderPicker()

Breaking Changes

  • Upgraded to AGP 7
  • Upgraded to Kotlin 1.7

1.4.1

Choose a tag to compare

@anggrayudi anggrayudi released this 23 Jul 10:36

Fixes

Note: This is the most stable version. Please consider using it if you're still using old AGP & Kotlin versions.

1.4.0

Choose a tag to compare

@anggrayudi anggrayudi released this 12 Jul 08:16

Features

  • Support Documents folder for API 24-29 (issue #90)
  • Increase target/compile SDK version to 33
  • Tell the user which root path should be selected

1.3.0

Choose a tag to compare

@anggrayudi anggrayudi released this 11 Apr 09:44

Features

  • Added file & folder pickers support for API 19

1.2.2

Choose a tag to compare

@anggrayudi anggrayudi released this 23 Mar 06:59

Breaking Changes

  • Downgrade to Kotlin 1.5 to support DexGuard 8

1.2.1

Choose a tag to compare

@anggrayudi anggrayudi released this 21 Mar 11:56

Fixes

1.2.0

Choose a tag to compare

@anggrayudi anggrayudi released this 19 Mar 19:05

Features

  • Increase target SDK to 31

1.1.0

Choose a tag to compare

@anggrayudi anggrayudi released this 24 Jan 20:05

Features

  • Added extension functions:
    • DocumentFile.findParent() to overcome DocumentFile.parentFile drawbacks.
    • DocumentFile.childOf()
    • List<MediaFile>.compressToZip()
    • MediaFile.decompressZip()

Breaking Changes

  • ZipCompressionCallback and ZipDecompressionCallback now requires generic data type, i.e. DocumentFile or MediaFile
  • Added ProGuard rules to keep fields in DocumentFile. See storage/consumer-rules.pro

Fixes

  • Fixed issue #79
  • Fixed the sample code