When scanning the front or back of the ID card in the RA app, the camera does not focus…

Hold the camera up so that the cut-out captures the entire ID document (still blurred if necessary). Then move the camera slowly closer to the ID document, and it will start to focus again.