[Feature request] Fetching and Grouping Album Assets by Date #1244
Labels
Automation: triage
Triaged automatically by our bot.
await triage
Platform: Android
Platform: Dart (package)
Platform: iOS
Sort: Enhancement
Platforms
dart, Android, iOS
Description
Currently, the albumAssetCount method provides only the total count of assets within an album. While useful, it is insufficient for scenarios where grouping assets by date (e.g., by month) is required — a common feature in many modern image pickers.
I was able to achieve this functionality by combining multiple SQL requests and leveraging asset counts to create custom groupings. However, this approach is not very efficient and may result in performance issues for larger datasets.
Any suggestion on a better way ?
My workaround:
Why
Reason:
This feature would make it easier to rebuild common image pickers like those found in WhatsApp or built-in photo libraries. Many popular apps use this kind of grouping to improve user experience. Adding this capability directly to the library would align it with such widely adopted use cases.
Feature Request:
Introduce a built-in way to fetch assets grouped by timeframes (e.g., months), reducing the need for multiple SQL queries and manual calculations. This feature would enhance the library's usability for developers implementing custom image pickers and similar features.
The text was updated successfully, but these errors were encountered: