To the best of our knowledge, there is no connection between the quality of a replacement screen and the Face ID system. There was a short span of time in which Apple was disabling Face ID following a screen replacement on one of the later model phones; I can't remember if it was like a 12 or a 13, but following the (presumed) negative public reaction to that, they later relented and removed the connection between a replacement screen and Face ID.
I'm not aware of that ever having been the case for the XR, so I'm not even sure it was worth mentioning; in the case of the 13 the cure eventually became just a matter of updating to a later version of iOS.
So, outside of that, the leading cause of Face ID issues is damage to the front sensor assembly during the transfer to the new screen. Check the flex cables for any tears or excessive bends, along with the FPC connectors on both the cable and the logic board for bent or broken pins. Also, look at the components mounted next to the FPC connector on the logic board; those occasionally get knocked off and can cause issues as well.
If you check around you can find instructions for testing the earpiece speaker components individually to see if one of them isn't working. The parts you are concerned with that are tied to Face ID are the ambient light sensor, flood illuminator, and proximity sensor.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2944067:04crwdne2944067:0
I'm no expert, but I think it has something to do with the front earpiece speaker
crwdns2934271:0crwdnd2934271:0 darth mango crwdne2934271:0
Are you transferring the sensor assembly/earpiece flex cable over to the new screen?
crwdns2934271:0crwdnd2934271:0 Alisha C crwdne2934271:0
No earpiece was replaced or repaired, only the aftermarket screen was replaced and the face was not working until now still.
crwdns2934271:0crwdnd2934271:0 iRepairMan crwdne2934271:0
I have resolved it by replacement with a refurbished genuine Apple screen. It is surprising for us that sometimes there is a link between the quality of the screen and Face ID also.
I tried two aftermarket alternative screens from different suppliers but face ID was not working. As soon I used refurbished genuine, it works straight away.
crwdns2934271:0crwdnd2934271:0 iRepairMan crwdne2934271:0