All Versions
29
Latest Version
Avg Release Cycle
67 days
Latest Release
1191 days ago

Changelog History
Page 1

  • v4.2.1 Changes

    January 09, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed RuntimeException with empty state in onSaveInstanceState #160 (jangrewe)
  • v4.2.0 Changes

    January 09, 2018

    โž• Added

    • Made OK/Cancel strings into library strings for easy overridability #157 (spacecowboy)

    ๐Ÿ”„ Changed

    • โšก๏ธ Update build tools to 26.0.2 and update Dropbox sample to v2 API #155 (mitchyboy9)
  • v4.1.0 Changes

    April 07, 2017

    Added

    โž• added a static helper method for parsing activity results #138 (spacecowboy)

    Thanks to @F43nd1r for #121

  • v4.0.1 Changes

    April 07, 2017

    Fixed

    • Destroy Loader after finish to avoid clearing selections #137 (spacecowboy)
  • v4.0.0 Changes

    February 03, 2017

    ๐Ÿ’ฅ Breaking changes

    You are now required to define a FileProvider in your manifest for the SD-card picker 101aa70

    Due to recent changes in Android 7.0 Nougat, bare File URIs can no longer be returned in a safe way. This change requires you to add an entry to your manifest to use the included FilePickerFragment and change how you handle the results.

    • You need to add the following to your app's AndroidManifest.xml:

      <providerandroid:name="android.support.v4.content.FileProvider"android:authorities="${applicationId}.provider"android:exported="false"android:grantUriPermissions="true"> <meta-dataandroid:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/nnf_provider_paths" /> </provider>

    • Then you must change your result handling. Here is a code snippet illustrating the change for a single result (the same applies to multiple results):

      protected void onActivityResult(int requestCode, int resultCode, Intent intent) { // The URI will now be something like content://PACKAGE-NAME/root/path/to/fileUri uri = intent.getData(); // A new utility method is provided to transform the URI to a File objectFile file = com.nononsenseapps.filepicker.Utils.getFileForUri(uri); // If you want a URI which matches the old return value, you can doUri fileUri = Uri.fromFile(file); // Do something with the result...}

    This change was required in order to fix FileUriExposedException being thrown on Android 7.0 Nougat, as reported in #115 and #107.

    โšก๏ธ Please see the updated activity in the sample app for more examples.

    ๐Ÿ”„ Changed

    Reading multiple selections via intent.getStringArrayListExtra(AbstractFilePickerActivity.EXTRA_PATHS) is now available for all Android versions 4fef8f8

    This field was previously only populated on versions below Android 4.3. If you target Android versions before 4.3, you can now use a single method of getting the results instead of switching based on version number.

  • v4.0.0-beta1 Changes

    October 22, 2016

    ๐Ÿ’ฅ Breaking changes

    You are now required to define a FileProvider in your manifest for the SD-card picker 101aa70

    Due to recent changes in Android 7.0 Nougat, bare File URIs can no longer be returned in a safe way. This change requires you to add an entry to your manifest to use the included FilePickerFragment and change how you handle the results.

    • You need to add the following to your app's AndroidManifest.xml:

      <providerandroid:name="android.support.v4.content.FileProvider"android:authorities="${applicationId}.provider"android:exported="false"android:grantUriPermissions="true"> <meta-dataandroid:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/nnf_provider_paths" /> </provider>

    • Then you must change your result handling. Here is a code snippet illustrating the change for a single result (the same applies to multiple results):

      protected void onActivityResult(int requestCode, int resultCode, Intent intent) { // The URI will now be something like content://PACKAGE-NAME/root/path/to/fileUri uri = intent.getData(); // A new utility method is provided to transform the URI to a File objectFile file = com.nononsenseapps.filepicker.Utils.getFileForUri(uri); // If you want a URI which matches the old return value, you can doUri fileUri = Uri.fromFile(file); // Do something with the result...}

    This change was required in order to fix FileUriExposedException being thrown on Android 7.0 Nougat, as reported in #115 and #107.

    โšก๏ธ Please see the updated activity in the sample app for more examples.

    ๐Ÿ”„ Changed

    Reading multiple selections via intent.getStringArrayListExtra(AbstractFilePickerActivity.EXTRA_PATHS) is now available for all Android versions 4fef8f8

    This field was previously only populated on versions below Android 4.3. If you target Android versions before 4.3, you can now use a single method of getting the results instead of switching based on version number.

  • v3.1.0 Changes

    September 30, 2016

    ๐Ÿ”„ Changelog

    Full Changelog

    ๐Ÿ”„ Changes

    • ๐Ÿ›  Fixed missing NonNull annotation in Dropbox Fragment #113
    • โฌ†๏ธ Bump compileVersion to 24 with matching dependencies #113
  • v3.0.1 Changes

    โž• Added

    • โž• Add ability to define a list divider in theme #99 (spacecowboy)

    ๐Ÿ”„ Changed

    • โšก๏ธ Update back button example d20afa1

      Fixes #106

    ๐Ÿ›  Fixed

  • v3.0.0 Changes

    โž• Added

  • v2.5.3 Changes

    โž• Added

    ๐Ÿ”„ Changed

    • Pass path into permission and refresh handlers c9d7035

      This allows for better handling in case of denied/missing permissions, as well the ability to request more fine-grained permissions.

      Fixes #85, #84

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix crash when creating dropbox directory 0a511ac

      Also improves loading screen usage for directory creation.

      Fixes #76