-
Notifications
You must be signed in to change notification settings - Fork 560
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
thumbnailPath on android is not accessible - content://com.android.contacts/contacts/4/photo #223
Comments
Is nobody using the thumbnails on android? |
do you know if where you're using the uri has the same contentresolver authority? https://developer.android.com/reference/android/content/ContentUris.html Maybe the authority is |
@morenoh149 how do I set the authority? I'm using react-native-contacts and than trying to read the image using RNFS. I'm not setting the authority in either... |
Right those may be two different authorities. Basically the uri 's generated by different authorities are not compatible. Don't think you can achieve your goal with that approach. |
There is now a solution for this problem in react-native-fs. Enabling access and copy content:// files -itinance/react-native-fs#395 |
Is your issue resolved? |
This issue is stale, please provide more information about the status |
Updates? I am with the same problem. |
No updates. Did you try passing the authority between the libraries? For better help open a fresh issue referencing this and any other resources. Also include a minimal reproduction and what you tried. |
I'm trying to copy the thumbnail received on Android, using RNFS (react-native-fs)
copyFile(src, dst) or RNFetchBlob (react-native-fetch-blob) fs.cp(src, dst), doesn't succeed - "no such file or directory".
Anyone had a success in copying such
content://
files?Thanks,
The text was updated successfully, but these errors were encountered: