问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/47268439/open-android-gallery-app-from-react-native-app