question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there any way I can get custom image album name list from iOS?

See original GitHub issue

CameraRoll.getPhotos(fetchParams) .then((data) => this._appendImages(data, changeGallery), (e) => console.log(e));

I used above code and as a result, in data there’s a parameter called ‘group_name’. In Android, I can get all the album names. In iOS, all the group_name is same as ‘All Photos’.

So I can sort albums in Android, but not in iOS.

How can I get custom image album name list…?

p.s. Last time I asked, ‘DanielMSchmidt’ closed my issue without asnwering;;; I need a comment from an author! Thanks a lot.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hramoscommented, Nov 1, 2016

The issue tracker is meant to be used to track bugs that need to be fixed. “How do I do X?” types of questions are best handled in Stack Overflow, which is a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-native?

As of this writing we have 789 open issues in the repository, so we need to be a bit more proactive about closing issues. I’m afraid I’ll have to close this one out for now!

0reactions
ghostcommented, Feb 13, 2018

@DylanVann @BROUDING did you guys find a workaround for this? I managed to get a list of albums using this module https://github.com/shimohq/react-native-albums getAlbumList method but the getImageList isn’t implemented in the iOS version. I then tried to use the built-in CameraRoll.getPhotos with groupName set to the previously retrieved album name, but it doesn’t seem to match what’s expected (no photos in the callback/promise result).

Just leaving this here as that’s as far as I dug it for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Organize and find your photos on your iPhone, iPad, or iPod ...
Open Photos. · Go to Albums and tap the Add button Add button . · Tap New Album. Type an album name, tap...
Read more >
ios - iPhone - How to create a custom album and give custom ...
To create a custom album, please use the PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: ). Brief example: // Swift ...
Read more >
How to Change an Album's Cover Photo on an iPhone or iPad
Head to Photos, then open the album whose cover photo you want to change. · Tap Select in the upper right, then drag...
Read more >
Organize and find photos in OneDrive - Microsoft Support
Select New album and type a name for the album. Select photos you want to add to the album and then click Add...
Read more >
How To Use iPhone Photo Albums To Organize Photos
To access these albums, go to the main list of albums by tapping Albums at the bottom of the screen. Scroll down to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found