react-native-image-viewing does not support web
When trying to compile it on desktop I get this error
ERROR in ./node_modules/react-native-image-viewing/dist/ImageViewing.js
Module not found: Error: Can't resolve './components/ImageItem/ImageItem' in '/home/me/prj/ssb/manyverse/node_modules/react-native-image-viewing/dist'
@ ./node_modules/react-native-image-viewing/dist/ImageViewing.js 1:1047-1090
@ ./node_modules/react-native-image-viewing/dist/index.js
@ ./lib/frontend/components/ZoomableImage.js
@ ./lib/frontend/components/Markdown.js
@ ./lib/frontend/components/messages/AboutMessage.js
@ ./lib/frontend/components/messages/Message.js
@ ./lib/frontend/components/FullThread.js
@ ./lib/frontend/screens/thread/view.js
@ ./lib/desktop/index.js
Which seems to be because when it gets to that point and wants to import ImageItem, there only exists android and ios implementations for it, see https://github.com/jobtoday/react-native-image-viewing/tree/master/src/components/ImageItem
I opened an issue in their repo now but the project doesn't seem very active so I don't know how hopeful I am about that getting in.