a7medev / react-native-ml-kit

React Native On-Device Machine Learning w/ Google ML Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextRecognition iOS error

wilav-dev opened this issue · comments

Hello, I'm getting "Input image must not be nil" on iOS. I'm using RNFS.TemporaryDirectoryPath, also tried RNFS.DocumentDirectoryPath. It's working using Android. Any idea? Should I add some permission or capability?

IMG_3FC1BDAE7873-1

Ok, i found the problem. i should add file:// as a prefix for ios