I created an Expo camera for my CRNA iOS app, but when I try to use it, it crashes. This happens on both the simulator and an iPad mini. On the simulator, it takes the picture and then crashes (or at least when I try to console.log the data, it shows up), and on the iPad mini it doesn’t even seem to take the picture, and I get the following error:
BadRequestError: request aborted at IncomingMessage.onAborted (/Users/sarahkatz/Desktop/WDF/Senior_Phase/capstone/notHotDog/node_modules/xdl/node_modules/raw-body/index.js:231:10) at emitNone (events.js:105:13) at IncomingMessage.emit (events.js:207:7) at abortIncoming (_http_server.js:410:9) at socketOnClose (_http_server.js:404:3) at emitOne (events.js:120:20) at Socket.emit (events.js:210:7) at TCP._handle.close [as _onclose] (net.js:545:12)
Using Expo SDK 22.0.0. I tried updating to 23, but that didn’t seem to help.
Any thoughts? This camera is kind of the center point of my app, so I would love to find a way to make it work …