I need to call an API that will only accept gzip’d body. I can successfully call the API via curl, but can’t figure out how to get a zip lib imported into my Expo project. I have tried mockingbot/react-native-zip-archive combined with itinance/react-native-fs but I get errors when trying to write a temp file to disk to later zip (I would, of course, prefer to just zip js object in memory).
All the solutions to the error I’m getting involve correctly manually installing the react-native-fs package, but since I’m trying to stick with Expo I’m a bit lost. The react-native-fs error I’m getting is: