Please provide the following:
- SDK Version: 46
- Platforms(Android/iOS/web/all): iOS
- Add the appropriate “Tag” based on what Expo library you have a question on.
I recently started using “expo native modules” to add custom native functionality to my app. As this native functionality becomes more and more complex I wish to use third party libraries in my native module. More specifically I’d like to create a native view which leverages the Google digital ink library (part of MLKit) to recognize handwritten textual input.
What I’ve done to accomplish this:
s.dependency 'GoogleMLKit/DigitalInkRecognition'to the podspec of the native module
import MLKitto the native module view file (swift file)
pod installin the ios folder of the example project for the native module
npx expo run:iosin the example project for the native module
However, I always get the following error:
no such module ‘MLKit’ (it’s complaining about the
import MLKit line)
What am I missing?
I am thankful for any kind of help.