React-Native can’t find function, but it’s there
I’m developing an app with React-Native for Android. The app was supposed to use the ML Kit PoseDetection API of Google to count reps of an exercise. Right now I just want the app to open the camera, use the detection on me and draw lines on the camera image so that I know the pose detection works. I used the following article of medium.com as a model: https://medium.com/dogtronic/real-time-pose-detection-in-react-native-using-mlkit-e1819847c340
The whole code is written for iOS, so I had to make a few adjustments for the android system. I admit: I used ChatGPT for this because I’m not familiar with Java, Kotlin etc.