React Native Vision Camera apparently supports this:
It also comes with an Expo Config Plugin, so you should be able to use it in an Expo managed app as long as you build with EAS Build. (Not expo build) And instead of Expo Go you can build a dev client.
I’m not sure what’s going on there. I haven’t used Vision Camera myself, but if I give it a try I do not get the above error. I do, however, get other errors :-/
Not sure if targetSdkVersion is needed, but I added it anyway.
But then I ran into an issue with kotlin stdlib versions (jdk7 vs. jdk8). I tried to figure out how to resolve that, but did not manage. I think it has something to do with kotlin versions used by gradle.
Might be worth creating an issue in the Vision Camera repository.