flutter_nextcloud 0.7.1 copy "flutter_nextcloud: ^0.7.1" to clipboard
flutter_nextcloud: ^0.7.1 copied to clipboard

A Flutter package for browsing, downloading, and managing files from Nextcloud servers via WebDAV protocol.

0.7.1 #

Bug Fixes #

  • Fixed subdirectory navigation (404 Error)
    • Resolves an issue where opening folders would result in a 404 error due to incorrect path construction.
    • Updated path handling to correctly support custom WebDAV base paths (e.g., /remote.php/dav/files/user/).

Improvements #

  • Robust path parsing
    • Use Uri.parse().path for reliable path extraction and comparison.
    • Properly filter "current directory" item regardless of the server path configuration.

0.7.0 #

Bug Fixes #

  • Fixed Base64 encoding issue that caused authentication failures with Nextcloud servers
    • Used explicit Uint8List.fromList() and base64.encode() for proper byte handling
    • Ensures correct encoding of app passwords with special characters

Improvements #

  • Added OCS-APIRequest header for proper Nextcloud API compatibility
  • Added Accept header for JSON responses during authentication
  • Improved error messages for authentication failures (401 Unauthorized)
  • Better guidance for users with 2FA enabled (App Password required)

Maintenance #

  • Removed all debug print statements from production code
  • Cleaned up example app (removed hardcoded test credentials)

0.6.0 #

New Features #

  • Exposed Core API: You can now use NextcloudService directly to build your own custom UI.
  • Added connect() method: New method in NextcloudService to verify connection and credentials.
  • Upload Progress: uploadFile now supports an onProgress callback.
  • Custom UI Example: Added a comprehensive example demonstrating how to use the API directly.

0.5.1 #

Improvements #

  • Minor documentation updates
  • Package metadata improvements

0.5.0 #

Improvements #

  • Improved package documentation

0.4.0 #

Quality Improvements #

  • Removed all debug print statements from production code for better pub.dev score
    • Removed 86 print statements across all library files
    • Code now passes static analysis with minimal warnings
  • Updated dependencies to support latest stable versions:
    • file_picker: Updated constraint from ^8.1.2 to ^10.0.0 (now supports latest 10.3.3)
  • Improved code quality and linting compliance
  • Fixed unused variable warnings

Breaking Changes #

None - this is a quality improvement release.

0.3.0 #

Documentation & Formatting #

  • Fixed formatting and indentation in documentation files
  • Fixed indentation in example app Info.plist files for consistency
  • Fixed formatting in AndroidManifest.xml files
  • Improved documentation readability

0.2.0 #

Breaking Changes #

  • Removed automatic permission handling: The package no longer automatically requests storage permissions. Users must now handle permission requests in their own app before using download/upload features. This provides better control and transparency for app developers.
  • Removed permission_handler dependency from the package

Migration Guide #

To update from 0.1.0 to 0.2.0:

  1. Add permission_handler: ^11.0.1 to your app's pubspec.yaml
  2. Add required permissions to AndroidManifest.xml and Info.plist (see README)
  3. Request permissions before downloading/uploading files (see EXAMPLES.md for complete implementation)

Why This Change? #

Moving permission handling to the app level:

  • Gives developers full control over permission UX flow
  • Allows customization of permission prompts and messaging
  • Makes the package more transparent about its requirements
  • Follows Flutter plugin best practices

See README.md and EXAMPLES.md for detailed implementation guides.

0.1.0 #

  • Initial release
  • Support for browsing Nextcloud directories
  • Download files from Nextcloud
  • Upload files to Nextcloud
  • Create folders
  • Delete files and folders
  • Rename files and folders
  • Support for public shares and authenticated accounts
  • Cross-platform support (iOS, Android, Web, Desktop)
  • WebDAV protocol implementation
  • Pre-built UI screens for configuration and browsing
2
likes
150
points
76
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for browsing, downloading, and managing files from Nextcloud servers via WebDAV protocol.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

file_picker, flutter, http, path_provider, xml

More

Packages that depend on flutter_nextcloud