Shipping AI-Powered React Native Apps
summary
Compares three concrete architectures—Remote (OpenRouter/OpenAI-style APIs behind a TRPC server), On-device via React Native AI (Apple Intelligence on iOS 26, Llama models ~3 GB) and a pragmatic hybrid fallback that downloads a local model in background and uses remote first. Shows a working Expo + server demo, reports on-device crashes on 2 GB emulators, and demonstrates token savings—using Tone (token-oriented object notation) cuts JSON token size by more than half—recommends hybrid for cost, privacy, and reliability trade-offs.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 1:06Why integrate AI in React Native
- 3:17Remote LLMs demo and explanation
- 5:10Why use a central server for AI
- 7:44On-device LLMs overview
- 10:34Apple Intelligence demo
- 11:40Llama provider demo
- 13:55Pros and cons of on-device LLMs
- 16:04Hybrid approach recommendation
- 17:05Token optimization with TOON
- 18:29Closing and Q&A
