Issue
My application requires opening an image, stored locally in the document directories using the android gallery app.Is this possible in react native using linking.
Solution
So my requirement was to download an image on a button click an then open the same image using the android gallery , I achieved the same using react-native-fetch-blob which facilitates both downloading a file and opening it with the corresponding apps. P.S: you could also open the gallery using linking, provided you have the content url rather than file url.
Answered By - Deepak Jacob
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.