💠How to create boilerplate for frame processors?
Question
How to generate a boilerplate similar to those frame processors already floating around?
They all have an android folder, an ios folder and an example folder. The docs say we should run npx vision-camera-plugin-builder@latest {platformName} but then it asks for the location of Android Manifest and .xcodeproj file, which, to be honest I don't have any.
Are we supposed to create a Android project using Android Studio and an iOS project using XCode and then run npx vision-camera-plugin-builder@latest {platformName} ? If that's the case what preset should be chosen during set up process of the said projects?
What I tried
No response
VisionCamera Version
2.16.7 with in-house patches, works like a charm
Additional information
- [ ] I am using Expo
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar questions in the issues page as well as in the discussions page and found none.
I kind set through the whole V2 -> V3 transition and are now evaluating how hard it is to do a V2 -> V4 transition. So if someone can point me to a boilerplate for frame processor V4 that would be great.
I have a blog which may help: https://www.dynamsoft.com/codepool/react-native-vision-camera-cropper-plugin.html
So basically npx create-react-native-library@latest lays down the boilerplate for you.
I just tried it, and it works wonders.
Thanks man, that helped a lot.