Probably the very smart spy camera can detect off axis TOF artificial light and close a shutter over the lens. Assuming your app integrates over the scanning motion, the camera won't be detected while it's shutter is closed. After the illumination is completed the spy camera can re-open it's shutter.
The spy camera could also something like your system to detect the phone camera and take defensive measures.
The spy camera could also something like your system to detect the phone camera and take defensive measures.