Why is the scan document feature limited to files only?

I’m pretty sure a lot of people who need this, don’t know it exists because it took me a while to discover. This feature is built in the android camera app and pops up automatically but I’m curious to see if it’s a good idea for Apple to do incorporate this thing to the camera app