EAS build- Issue with orientation

We are using managed workflow.
Recently we updated the version of expo from sdk 37 to sdk 45. After resolving all the issues, The orientation works properly fine with the expo go simulator.
For building the ipa we are using eas.
eas build -p ios
But when we post that ipa on the testflight, So after installing from testflight, the orientation of screens are not working in ipad devices.
The same project is also build for android with expo build. The orientation is working fine with it in android

Eas cli version- eas-cli/0.52.0 darwin-x64 node-v14.17.6
Expo version - 45