r/expo • u/vanbutlr • 5h ago
built a fitness and food app in expo with 9 local swift modules (metal, vision ocr, lidar, watch & widgets), here is what tripped me up
been building an iOS workout and food tracker called curlity in expo 57 (rn 0.86) for the last few months and just submitted 1.0 to apple review.
a lot of people say you hit a wall with expo once you need heavy native iOS stuff, so i figured id share what actually worked and what gave me headaches across 9 custom local expo modules:
- apple vision ocr on device: built a local swift module for reading nutrition labels and food ingredient lists across 15 languages completely on device. biggest lesson was turning auto capture off and letting people tap manually because auto capture kept firing on blurry frames in supermarket lighting.
- arkit lidar plate scan + non pro fallback: used arkit depth fusion for estimating meal portions on pro iphones, then added a standard overhead + side photo fallback for non pro iphones so it still works on every phone.
- metal liquid glass launch screen: ended up writing a small metal shader module for the launch transition. caught a nasty NaN white square bug on teardown that only showed up on real hardware, never in simulator.
- apple watch + home/lock widgets + live activities + app clip: wired all 4 targets through custom expo config plugins (plugins/with-*.cjs) sharing one app group instead of manually editing xcode every time. definitely worth keeping everything in config plugins so prebuild stays reproducible, though keeping CFBundleVersion synced across all 4 targets tripped me up early on until i wrote a quick archive check script.
- on device speech recognition: using requiresOnDeviceRecognition in swift lets people speak a meal or a workout list with zero cloud latency or api cost.
attached a couple raw screenshots from the phone (food diary and progress tab). honestly curious if anyone else here is shipping watch/widget/app clip targets through expo config plugins or if most people still eject for that stuff. happy to answer anything about how the modules or plugins are wired up.

