Chosen Solution

Hello everyone, I’ve just replaced front sensors flex cable (proximity and ambient sensors from original flex). Unfortunately I have not checked if the problem was appearing before. Can it be associated with poor soldering job with swaping sensors? FaceID, speaker, ambient sensor, proximity sensor works without any problem.

I’d give the camera and camera lens a good wipe with a cleaning cloth, hopefully that should resolve the problem.