TL;,WR Meta's wearables SDK, minus the boilerplate...
# feed
j
TL;,WR Meta's wearables SDK, minus the boilerplate and most of the suffering — one Kotlin Multiplatform API for camera, display and audio, Android + iOS. Docs: https://spectralib.vercel.app/ Repo: https://github.com/jacksonmafra-umain/spectra Long Version: Shipped a thing: Spectra, a Kotlin Multiplatform wrapper around Meta's Wearables Device Access Toolkit. One coroutine-and-Flow API in commonMain, the same calls on Android and iOS, and a mock so you can build the whole flow without owning a single pair of glasses. Why does this exist? Because Meta gives you TWO native SDKs (Swift + Kotlin), shipped through GitHub Packages behind a token, with callbacks, result builders, activity-result contracts, and a device list that stays empty while the glasses are literally on your face. The "hello world" is a scavenger hunt. Spectra hides all of it behind one SpectraClient: register → active device → permit → session → stream/photo. It also wraps the new Ray-Ban Display glasses (declarative screens, like Compose), plus Bluetooth audio. Genuinely not sure why making this approachable was left as an exercise for the reader, but here we are. Docs: https://spectralib.vercel.app/ Repo: https://github.com/jacksonmafra-umain/spectra