Im dying here My RN/Expo app takes photos and stores them on Firebase. … that part works fine.
However, it seems that on iOS RN/Expo Camera writes some exif orientation data that is never truly reliable. It sometimes changes the orientation to rotated 90 CCW sometimes not. Boo.
I need some advice on the best pattern for this. Is the best idea to force Exif BEFORE upload or read the exif data and orient the image on the client side? My gut is the latter.
I stupidly assumed this was trivial but it seems it isn’t. Can anyone point me in the right direction on this?
Also, I need to understand how to read exif data in RN. The only npm I found requires the image to be local vs. using a uri.