#MLKit
We just shipped text recognition for React Native MLKit!
November 25, 2025 at 6:05 PM
Expo 54 support for React Native MLKit is coming soon! Thanks @frankcalise.dev!!

Up next: going through the backlog of issues to see if these upgrades fix some problems, and then we're probably gonna keep on adding support for additional modules.
feat!: Support for Expo SDK 54 by frankcalise · Pull Request #233 · infinitered/react-native-mlkit
Description Adds support for Expo SDK 54 Removes an unnecessary dependency on @infinitered/react-native-mlkit-core from @infinitered/react-native-document-scanner Removes unnecessary typescript de...
github.com
November 16, 2025 at 8:49 PM
yea unfortunately ios only. can't do this on android without adding mlkit to the app, which is a whole can of worms :/
February 18, 2024 at 2:23 AM
I was looking into how to program the NPU in the Apple silicon chips and there’s simply no way to do it directly, you HAVE to go through their MLKit abstractions

How am I supposed to do anything useful with it if it’s so locked down?
July 5, 2025 at 9:36 AM
I remember having to use MLKit was brutal. It was really slow. I hope you can find a way to make it work
March 28, 2025 at 12:45 PM
we'd also be able to do this on Android as well - we would need to add mlkit i think which is a fairly chunky dependency though it has some other uses like on-device translation which would be handy (we're shipping native iOS translation support this week as well instead of opening in google)
June 5, 2024 at 5:04 AM
Wie gesagt, einige der Funktionen die über Fette Drittanbieter Bibliotheken abgedeckt werden, kann man auch mit Android APIs direkt implementieren. Anscheinend hat man das eh versucht, z.B. mit MLKit...
December 22, 2023 at 11:17 AM
@danabra.mov the Bluesky language translate experience isn't super great right now. I assume you're trying to avoid Google translate api costs by forcing a web link.

Consider the MLKit translate SDKs (free and on device translations) and then do web fallback.

developers.google.com/ml-kit/langu...
Translation  |  ML Kit  |  Google for Developers
developers.google.com
December 2, 2024 at 12:37 AM
安卓那边用的就不是系统翻译API了(
我刚刚看了下代码,用的是谷歌的MLKit,端侧小模型
效果不好是正常的(
March 6, 2026 at 3:25 PM
This can likely be done on the client now via MLKit
September 3, 2024 at 9:13 AM
Extremely minimal Compose Multiplatform sample that demonstrates use of on-device AI on iOS and Android. github.com/joreilly/OnD... #CMP #KMP #AI

Just basic initial implementation so far that uses the following:
👉 Foundation Models Framework (iOS)
👉 MLKit Prompt API (Android)
GitHub - joreilly/OnDeviceAI: Extremely minimal Compose Multiplatform sample that demonstrates use of on-device AI on iOS and Android.
Extremely minimal Compose Multiplatform sample that demonstrates use of on-device AI on iOS and Android. - joreilly/OnDeviceAI
github.com
November 23, 2025 at 4:21 PM
yea. my main issue with using mlkit is you also have to include a google "analytics" library for it to function, which just isn't cool.

it also increases app bundle size significantly, but that isn't the big blocker to me as the phoning home.
February 18, 2024 at 2:30 AM
does that support M1 apple chip? last time i tried to use google mlkit, i coulnd't build on my mac anymore so i couldn't use it :/
November 17, 2025 at 2:46 PM
Just created our first #MLIR plugin for #cleflang and while it's within a narrow focus it has wide implications: MLKit style flat closures that can be lowered to standard LLVM. #fsharp #fstar #ocaml #dotnet github.com/FidelityFram...
GitHub - FidelityFramework/mlir-plugins: Custom transforms for MLIR to support Fidelity Framework
Custom transforms for MLIR to support Fidelity Framework - FidelityFramework/mlir-plugins
github.com
March 6, 2026 at 7:44 PM
im really adverse to using google's API. there's MLKit, but the first thing i see when i add that in is they also want to add their analytics package as well... (also still issues building on silicion for the simulator when adding mlkit, but that isn't a deal breaker)
December 7, 2023 at 1:31 AM
Possibly dumb question: can you use MLKit from AOSP derivatives?
November 30, 2025 at 3:43 PM
Uses the Apple Translation framework on iOS and Google MLKit on Android. Needs language models downloaded on the device. MLKit does this automatically in the background, iOS requires you to download the models in the Translate app.
June 19, 2026 at 7:20 AM
afaik the only way is if we added mlkit to the app bundle which 1. bloats the bundle size considerably and 2. phones home “analytics” to google
February 5, 2024 at 6:38 AM
hmm maybe i mixed the lib with an other than, looks like it doesn't support text-scanner. my use case was to read iban so people didn't have to write them but maybe it was an other lib using mlkit. Thanks for the answer !
November 17, 2025 at 4:41 PM
Things I learned building an offline-first #iOS translation app:

✅ Don’t trust OCR output blindly — pre-process images
✅ Google #MLKit works offline, but translation quality varies a lot by language
✅ #SwiftUI is great for prototyping, but UIKit is still essential for low-level camera control
May 11, 2025 at 6:31 PM
ah got it! you can check out the FaceBlurApp - and feel free to ask and questions on our Discord! :)
github.com/mrousavy/Fac...
GitHub - mrousavy/FaceBlurApp: An app that blurs faces in realtime using VisionCamera, Skia and MLKit 😷
An app that blurs faces in realtime using VisionCamera, Skia and MLKit 😷 - mrousavy/FaceBlurApp
github.com
March 27, 2025 at 1:36 AM
As far as selected text yea, from switching from UILabel to UITextView. I have not tried to do anything like “tap translate” and it pops up though.

Assuming you can, but not sure how you’d keep parity with android then. Gotta see if Android has something similar without using MLKit
January 13, 2024 at 8:45 AM