Problem with using google MLKit text recognition v2 for ios (swift) in react native
I wrote a native wrapper for text recognition using Google MLKit for ios in swift language. the recognizing part working fine. but when I use the method in react native (javascript), the catch block is called immediately after then block. am I missing somethin here?. Here are my native swift module files: