react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

❓ In example can I trigger andorid plugin from react?

Open gtzippy opened this issue 3 years ago • 1 comments

Question

I have the example up and running on my android phone. The frameprocessor is working and logging the stuff from the react-native code, but I am wondering if I can trigger the java in the android ExampleFrameProcessorPlugin? I already have a robust android app that does what I want with an image, so if I can trigger that code by using the frameprocessor that would be amazing. Thanks for any guidance!

What I tried

I have tried logging to the console in java and touching a file on the phone in the ExampleFrameProcessorPlugin but it I cannot find any evidence of the log or the file being updated on my phone.

VisionCamera Version

example project

Additional information

gtzippy avatar Jul 30 '22 18:07 gtzippy

I retract this question. I just did a reclone and setup of the example project and now it all works. I was very meticulous throughout this process, so I guess that I messed something up the first time. Now I am able to trigger things in the Android code.

gtzippy avatar Jul 30 '22 18:07 gtzippy

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.

mrousavy avatar Sep 30 '23 09:09 mrousavy