Skip to content

[path_provider_tizen] Update path_provider to 2.1.5#994

Merged
JSUYA merged 4 commits intoflutter-tizen:masterfrom
JSUYA:update-path_provider
Apr 24, 2026
Merged

[path_provider_tizen] Update path_provider to 2.1.5#994
JSUYA merged 4 commits intoflutter-tizen:masterfrom
JSUYA:update-path_provider

Conversation

@JSUYA
Copy link
Copy Markdown
Member

@JSUYA JSUYA commented Apr 16, 2026

  • Update path_provider to 2.1.5.
  • Add getDownloadsPath() support.

+#995

@JSUYA JSUYA self-assigned this Apr 16, 2026
@JSUYA JSUYA added the enhancement New feature or request label Apr 16, 2026
@JSUYA JSUYA mentioned this pull request Apr 16, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates path_provider_tizen to version 2.3.0, adding support for getDownloadsPath and updating the path_provider dependency. It also includes an integration test for the new functionality. Feedback suggests modifying the getDownloadsPath implementation to catch exceptions and return null, ensuring compliance with the path_provider API contract.

Comment thread packages/path_provider/lib/path_provider_tizen.dart Outdated
@seungsoo47
Copy link
Copy Markdown
Contributor

All APIs in the path_provider_platform_interface.dart file use nullable return types.
Please apply them to the current path_provider_tizen.dart file as well.
Also, please add a try-catch statement to storage.getDirectory() in getExternalStoragePaths().

JSUYA added 2 commits April 23, 2026 13:02
…face

Also normalize external storage path failures to return null and document the change in the changelog.
Align nullable path handling with the platform interface by returning null when Tizen app common APIs do not provide a path, and document the behavior in the changelog.
@JSUYA
Copy link
Copy Markdown
Member Author

JSUYA commented Apr 23, 2026

All APIs in the path_provider_platform_interface.dart file use nullable return types. Please apply them to the current path_provider_tizen.dart file as well. Also, please add a try-catch statement to storage.getDirectory() in getExternalStoragePaths().

All interfaces have been updated.

@JSUYA JSUYA merged commit f573478 into flutter-tizen:master Apr 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request p: path_provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants