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

Changelog History
Page 1

  • v4.2.1

    January 09, 2018

    🛠 Fixed

    • 🛠 Fixed RuntimeException with empty state in onSaveInstanceState #160 (jangrewe)
  • v4.2.0

    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

    April 07, 2017

    Added

    ➕ added a static helper method for parsing activity results #138 (spacecowboy)

    Thanks to @F43nd1r for #121

  • v4.0.1

    April 07, 2017

    Fixed

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

    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

    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

    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

    ➕ Added

    🔄 Changed

    🛠 Fixed

  • v3.0.0

    ➕ Added

  • v2.5.3

    ➕ 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