Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] getAssetPathList() Function Can Not Fetch "Videos" Album in Android. #1195

Closed
omermustekiin opened this issue Oct 6, 2024 · 2 comments

Comments

@omermustekiin
Copy link

Version

3.5.0

Platforms

Android

Device Model

all

flutter info

[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale tr-TR)
    • Flutter version 3.24.1 on channel stable at /Users/omer/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (7 hafta önce), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/omer/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Connected device (6 available)
    • FIG LX1 (mobile)                • HBEDU18921002759          • android-arm64  • Android 9 (API 28)
    • Ömer iPhone 14 Pro Max (mobile) • 00008120-001A25803487C01E • ios            • iOS 18.0 22A3354
    • Ömer iPhone SE 3nd Gen (mobile) • 00008110-000808C43607801E • ios            • iOS 17.6.1 21G93
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 129.0.6668.90

[✓] Network resources
    • All expected network resources are available.

• No issues found!

How to reproduce?

The getAssetPathList() function fails to retrieve the "Videos" album on the devices.

Logs

fetched user albums: [AssetPathEntity(id: isAll, name: Recent), AssetPathEntity(id: -1641691205, name: WhatsApp Video), AssetPathEntity(id: -1739773001, name: Camera), AssetPathEntity(id: -878759732, name: WhatsApp Animated Gifs), AssetPathEntity(id: 1028075469, name: Screenshots), AssetPathEntity(id: 278607672, name: WhatsApp Images)]

There is no Videos album.

Example code (optional)

await PhotoManager.getAssetPathList(
        type:  RequestType.image + RequestType.video,
      );

Contact

omermustekiin@gmail.com

@AlexV525
Copy link
Member

AlexV525 commented Oct 6, 2024

It's not an actual album.

@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
@omermustekiin
Copy link
Author

I mean u saying we need to collect all videos in device and create or own Videos album then fill it. Thats weird, we are able to fetch videos album in iOS. Im suprised for android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants