Firebase Phone Auth OTP not working on TestFlight

Hi,

I'm working in unity and I've implemented Firebase Phone Number Authentication in it. Everything works fine when I directly install build from xCode. App Attest screen shows up, user receives OTP on their phone and login works. But when I download the same build from TestFlight, it gets stuck after the user sends OTP request.

I've added Push Notifications and App Attest in capabilities. I've also additionally added Remote Notifications.

In device log I see an error about mobile provisioning file but I've added that to my account also. Is this expected behavior that phone number authentication does not work on TestFlight? If yes, how can I get this approved from apple since they need to test it before approving it.

Thanks!

Firebase Phone Auth OTP not working on TestFlight
 
 
Q