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

[Feature] Need Folder Path Of Picked Asset #81

Closed
ibragunduz opened this issue Dec 30, 2020 · 5 comments
Closed

[Feature] Need Folder Path Of Picked Asset #81

ibragunduz opened this issue Dec 30, 2020 · 5 comments
Labels
r: photo_manager Related to the photo_manager package.

Comments

@ibragunduz
Copy link

Version information (版本信息)

  • Device: Xiaomi Note 8 Pro
  • OS: Android 10
  • Package Version: v4.2.2
  • Flutter Version: v1.22.3

Is your feature request related to a problem? (功能是否与已有问题关联)
No it's not a problem. But we should use our requested feature to continue use the WechatAssetsPicker library.

Describe the solution you'd like (描述你期望的解决方案)
1- I choosing a asset.
2- I got some information about the my selected asset but I cant get the real folder path of the asset.
3- Folder paths similar to this "/storage/emulated/0/Screenshots/2020_12_20_3938293283.png".

Describe alternatives you've considered (其他解决方案或疑虑)
We should take the folder path of the picked asset after the pick screens returned data.

Additional context (附加内容)
thread-138537-4018708289466783266

@ibragunduz ibragunduz added await investigate The issue is waiting for further investigation. s: feature There's a feature request in this issue. labels Dec 30, 2020
@github-actions github-actions bot added the await triage The issue is waiting for triage. label Dec 30, 2020
@ibragunduz ibragunduz changed the title [Feature] Request a feature with something [Feature] Need Folder Path Of Picked Asset Dec 30, 2020
@AlexV525
Copy link
Member

@AlexV525 AlexV525 added the await response Issue require customer's further response. label Dec 30, 2020
@ghost
Copy link

ghost commented Dec 31, 2020

Ekran Resmi 2020-12-31 11 01 57

It returns cache path like this /data/user/0/com.fluttercandies.wechatAssetsPickerExample/cache/4526_origin_1609400892908.jpg, but it isn't what i want.
I need the path of media before i pick. Example Path: /storage/emulated/0/MyFolder/4526_origin_1609400892908.jpg

@AlexV525
Copy link
Member

Can you try with an Android 9 (28) device and see if the path is in /storage ?

@AlexV525 AlexV525 added i: lack of information Further information is requested. p: Android This issue only happens on Android platform. r: photo_manager Related to the photo_manager package. and removed await investigate The issue is waiting for further investigation. await response Issue require customer's further response. await triage The issue is waiting for triage. labels Dec 31, 2020
@AlexV525
Copy link
Member

AlexV525 commented Dec 31, 2020

But there are something I'm curious, why the path is important in your case? Are there any details can be shared?

@CaiJingLong
Copy link
Member

Without the concept of folder, the album is provided by the system.

The file/originFile is provided just for convenience in the flutter.

iOS applications are sandboxed, so getting originFile or file will always trigger IO, and the corresponding files will be cached in the application sandbox.

@AlexV525 AlexV525 closed this as completed Jan 4, 2021
@AlexV525 AlexV525 removed i: lack of information Further information is requested. p: Android This issue only happens on Android platform. s: feature There's a feature request in this issue. labels Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
r: photo_manager Related to the photo_manager package.
Projects
None yet
Development

No branches or pull requests

3 participants