I replaced my rear camera on my launch day Pixel 6 pro. I had scratched the primary lense after cracking the rear glass.
With the replacement module, the telephoto lense would not focus on distant object, but it would focus on near objects. I tried clearing the camera cache and a device reset
I thought it might have been the rear glass, but the issue persisted after trying 3 different rear glass covers, and also without the glass in place. I bought a cheaper camera module from aliexpress and it has the same behavior. Whilst I had the phone open, I tried the original module, and the telephoto worked okay. I decided to take a risk and I've frankenstined the telephoto camera from that original came from the phone into the ifixit camera module with the working primary camera, and everything now works.
TLDR/point of this comment, I don't think all versions are compatible with all phones. This is very disappointing considering how expensive the camera module is.