Good job man,a delicate job that needs experience and steady hand. One question,i have an iphone 8 change battery and the tourch light and main camera works and sometimes not,i check to see of any loose or broken components but not but the face camera works well with no problem,could it be the battery?
check again for loose component around that area, check the flex cable for small cracks, check the connector, or something touching the ground. to be sure change the camera and flashlight. maybe the phone has that issue before you start working on it, you know customer will not mention it,