The Glassly Bluetooth SDK is the base SDK for building mobile apps that control smart glasses directly over Bluetooth. It gives React Native apps access to scanning, pairing, device status, and the features each glasses model has, such as display, microphone audio, camera capture, speaker playback, streaming, Wi-Fi, and hardware events. Use this SDK when your app owns the mobile experience and needs a direct phone-to-glasses connection. Hardware lists the supported models and what each one can do. Native Android and iOS apps can use the SDK when those packages publish.

Install

Install from npm. React Native / Expo is the only install path today. Maven and SwiftPM publishing is paused, so the native Android and iOS packages are not available yet.

Quickstart

Add the React Native package to your app and connect to your glasses with Build from Scratch. The Glassly Bluetooth SDK Starter Kit, with complete Android, iOS, and React Native example apps, is not available yet.

Add the SDK to your app

Install @glassly/bluetooth-sdk, configure the Expo plugin and permissions, and connect.

What You Can Build

  • React Native apps that scan for and connect to supported glasses. Native Android and iOS apps can do the same when those packages publish.
  • Apps that receive button, touch, swipe, head-up, battery, Wi-Fi, hotspot, stream, photo, audio, and SDK log events, for the events the connected model reports.
  • Apps that control the features the connected model has, such as display, microphone, speaker playback, Wi-Fi, hotspot, gallery mode, camera settings, RGB LEDs, and streaming. Mentra Live is the only supported model with a camera.
  • Photo upload to your own webhook and RTMP, SRT, or WebRTC streaming to your own ingest endpoint.

Requirements

  • A physical Android phone or iPhone for real Bluetooth testing.
  • Android min SDK 28 or newer.
  • iOS deployment target 15.1 or newer; 17.0 or newer for Expo apps.
  • React Native / Expo apps must use a development build or production native build. Expo Go cannot load the native SDK.
  • Bluetooth permissions, plus Android location permission where BLE scanning requires it.
Matching Mentra Live software cannot be installed through the SDK yet, because Glassly does not publish Mentra Live update files. See Update Mentra Live.

Next Steps

Build from Scratch

Add the SDK to your React Native app. The Android and iOS steps apply when those packages publish.

Hardware

See which glasses models the SDK supports and what each one can do.

Update Mentra Live

How the SDK installs Mentra Live glasses software from an OTA manifest.

API Reference

Review lifecycle, commands, events, status fields, and per-model behavior.

Air-Gapped Deployment

Disable SDK analytics and run the SDK on a restricted network.

Troubleshooting

Fix native build, permission, scan, stream, and Expo issues.