Firebase connection fails when published

Firebase updates on my app work fine when in a simulator or through the expo app, but as soon as theyre published the firebase connection stops working. Does anyone know why this might be?

there is no reason why this would happen unless your app somehow has some behavior is different in development or production. try this Development and production modes - Expo Documentation

I have tried toggling production mode, and everything still works in simulator or expo go but if i make a build with expo build:ios, upload with transporter, and run it from testflight or publish it to the app store it stops working.

try to create minimal example app and reproduce it there. you can use expo build:ios -t simulator to get a simulator build and more easily test, without going through testflight. here are some debugging tips if you’re really stuck fyi/ at master · expo/fyi · GitHub