Packages
| Platform | Package | Import |
|---|---|---|
| Android | com.mentraglass:bluetooth-sdk | import com.mentra.bluetoothsdk.* |
| iOS | MentraBluetoothSDK Swift package | import MentraBluetoothSDK |
| React Native / Expo | @mentra/bluetooth-sdk | import BluetoothSdk from '@mentra/bluetooth-sdk' |
What You Can Build
- Native Android, iOS, or React Native apps that scan for and connect to Mentra Live.
- Apps that receive button, touch, swipe, head-up, battery, Wi-Fi, hotspot, stream, photo, audio, and SDK log events.
- Apps that control Mentra Live features such as gallery mode, camera settings, speaker playback, RGB LEDs, Wi-Fi, hotspot, microphone, camera, and streaming.
- Photo upload to your own webhook and RTMP, SRT, or WebRTC streaming to your own ingest endpoint. The starter kit also includes optional local demo helpers for trying these flows on a LAN.
Requirements
- A physical Android phone or iPhone for real Bluetooth testing.
- Android min SDK
28or newer. - iOS deployment target
15.1or newer. - 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.
Quickstart
Install the SDK, connect to Mentra Live, and read glasses status.
Example Apps
Run the Android, iOS, and React Native starter apps from a fresh clone.
API Reference
Review lifecycle, commands, events, status fields, and Mentra Live behavior.
Troubleshooting
Fix native build, permission, scan, stream, and Expo issues.

