Access hidden photos

Hi
I want to give my expo react app the option to sync ALL photos to a location of the user’s choice (FTP, NAS,…) and therefore would need to access ALL photos and videos on the device incl. the ones tagged as hidden.
So far I cannot find any react library that allows me to get my hands on hidden assest. Any help appreciated. Thanks

@chnuschti67 I assume this is on iOS?

If no React Native library allows you to do this you might need to write some native code (or fork an existing library.)

I have not tried this myself, but the following might point you in the right direction:

https://developer.apple.com/documentation/photokit/phfetchoptions/1624780-includehiddenassets