Install the Mentra Live glasses software that matches your Bluetooth SDK release.
Each Bluetooth SDK release has a matching Mentra Live glasses software release. Your mobile app and glasses must use the same release version.For coordinated releases, the completed release record correlates the exact SDK
packages and hosted OTA manifest selected for one release. Beta and production
releases also publish a portable OTA bundle for self-hosted updates.The latest matching pair is:
Mobile app dependency
Required glasses software
React Native @mentra/bluetooth-sdk@3.4.1
Mentra Live software 3.4.1
Android com.mentraglass:bluetooth-sdk:3.4.1
Mentra Live software 3.4.1
iOS MentraBluetoothSDK version 3.4.1
Mentra Live software 3.4.1
Bluetooth connection alone does not confirm version compatibility. Glasses running an older software release may connect to an app using SDK 3.4.1, but SDK features may fail or behave incorrectly. Install the matching 3.4.1 glasses software before testing SDK features.
How Version Matching Works
When your app calls checkForOtaUpdate(), the SDK checks the OTA manifest matching its own version. The manifest describes the ASG client, MTK system software, and BES firmware required by that SDK release. Calling startOtaUpdate() installs the available components after the user accepts the update.When you upgrade your app to a new Bluetooth SDK release, run the OTA check again and require the matching glasses software before enabling SDK features.
Recommended: Update With An Example App
The Mentra Bluetooth SDK Starter Kit includes the complete OTA flow. Build an example app with SDK 3.4.1 to install the matching glasses software.Each prebuilt Starter Kit app uses the SDK version identified by its release.
Choose the installation for your device:
iOS: iPhone
Install the React Native example from TestFlight.
For external TestFlight channels, a newly uploaded build appears after Beta App
Review. Until then, the link continues to serve the latest approved build.
macOS: Apple Silicon Mac
The same TestFlight build runs on Mac computers with Apple silicon. Install
TestFlight from the Mac App Store,
then open the React Native example in TestFlight and
select Install.This TestFlight build has been verified on Mac with Mentra Live for Bluetooth
connection, OTA updates, and photo capture. Intel-based Macs cannot run the
iPhone and iPad app.
Use the serial shown by adb devices. If only one Android device is connected, you can omit -s <phone-serial>.
Install The Matching Glasses Software
Pair and connect the example app to Mentra Live.
The full-screen update flow checks the glasses automatically.
If an update is available, tap Update Now. Factory-stock glasses require
glasses Wi-Fi for their first update; after they run Mentra Live software 3.1
or newer, supported phones can use the Mentra Live hotspot instead.
Keep the app connected and avoid using other glasses features while the update is running.
Wait while the flow installs every required component and rechecks the glasses. They may restart during installation.
Continue when the flow reports that the glasses are up to date.
The example app uses the release-specific OTA manifest selected by its SDK, so it installs the glasses software components matching that exact SDK release.
Bootstrap The Update With ADB
Use this path when the software currently installed on Mentra Live cannot run the SDK OTA flow.Open the release artifacts for 3.4.1 and download mentra-live-asg-selection-3.4.1.json. That record contains the exact ASG client APK URL, filename, and checksum selected for this coordinated release. Download that APK rather than choosing an ASG build by date or version code.Install ADB, connect Mentra Live to the computer with a data-capable USB cable, and verify that the glasses appear:
adb devices
Install the ASG client using the glasses serial shown by that command:
If only the glasses are connected, you can omit -s <glasses-serial>.
This command installs only the ASG client selected for 3.4.1. It does not necessarily install the matching MTK system software or BES firmware. After installing the APK, use an app built with SDK 3.4.1 to install any remaining components and complete the matching glasses software release.
Add The OTA Requirement To Your App
Every app using the Bluetooth SDK must install the glasses software matching its
SDK release before enabling version-dependent features. For React Native apps,
Mentra Engine owns the complete Wi-Fi and hotspot OTA sequence, including
artifact verification, APK/MTK/BES ordering, restarts, retries, and final
version verification.Do not reproduce that sequencing with checkForOtaUpdate(),
startOtaUpdate(), and ota_status listeners in React Native application code.
wifi_required is only a legacy bootstrap state. Mentra Live software earlier
than 3.1 does not support hotspot OTA. Factory-stock glasses are delivered in
this state, so their first update must use a Wi-Fi network configured on the
glasses. After that update installs Mentra Live software 3.1 or newer,
subsequent updates use hotspot OTA whenever the glasses advertise the supported
hotspot OTA capability, even when glasses Wi-Fi is connected. Glasses without
that capability keep the Wi-Fi update path.
Use The Exact Mentra App OTA Pages
This is the simplest and safest integration. MentraLiveOtaFlow provides the
same full-page OTA screens and behavior as the Mentra App.Install matching Mentra Engine and Bluetooth SDK releases:
bun add @mentra/engine@VERSION @mentra/bluetooth-sdk@VERSION
Render the flow after Mentra Live connects. Your app owns only the surrounding
navigation and its Wi-Fi setup page:
The component initializes only the Engine projections required by OTA. If your
app already called engine.start(), pass initializeRuntime={false}.The flow checks again after every install pass. It does not finish until the
ASG client, MTK system software, and BES firmware all match the release
manifest. On Android, hotspot OTA requires Android 13 or newer. On iOS, it uses
the app’s Bluetooth background execution and does not add a second keep-alive
mechanism, so updates continue while the phone is locked. That requires the
bluetooth-central background mode: the SDK’s Expo config plugin adds it to
React Native apps, and native iOS apps declare it as described in
Background Operation.
Customize The OTA Pages
Use useMentraLiveOta when your app needs different components, layout, colors,
or navigation. The hook exposes semantic screens and idempotent actions while
the same Engine coordinator retains all OTA sequencing:
state.releaseTransition is present when the checked OTA manifest belongs to a
coordinated Mentra release. toVersion is that exact release identity. The
current fromVersion is the ASG client version reported by the glasses and may
be null on older installations, so custom pages should keep an honest unknown
fallback. When glasses report their coordinated release identity directly,
Engine can replace this one source-version lookup without changing customer UI
code. Engine captures the pair before installation and retains it through
restarts and final verification.The finishing screen means the approved session is checking for additional
required passes. Do not render terminal success or release notes until the
controller reaches up_to_date.Use state.completedUpdate to distinguish a terminal update session from a
standalone check that was already up to date. Release metadata is optional, so
do not infer completion from state.releaseTransition.Start from the Starter Kit’s
custom OTA presentation folder
and change its presentation components and styles. Call only the controller’s
actions. Do not copy or modify update ordering, hotspot setup, watchdogs, or
restart recovery, and do not import @mentra/bluetooth-sdk/internal, Engine
stores, or Engine services.
Native Android And iOS Apps
Mentra Engine’s complete controller is currently a React Native integration.
Native Android and iOS apps use the lower-level OTA commands and events in the
API Reference and must preserve the
documented OTA contract, including repeated checks across multi-component
updates and restart recovery.Mentra Live rejects an OTA start when its known battery level is below 5% and
reports battery_low. An unknown glasses battery remains fail-open. Keep an
app-level battery check as the user-facing policy; the glasses check is defense
in depth.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"MentraOS","colors":{"primary":"#00b869","light":"#00b869","dark":"#00b869"},"logo":{"light":"https://mintcdn.com/mentra/Ic2FojOsd7VDR4OG/static/img/mentra-logo-small.png?fit=max\u0026auto=format\u0026n=Ic2FojOsd7VDR4OG\u0026q=85\u0026s=7ed2329b5f0a9ef047039a9a65635a55","dark":"https://mintcdn.com/mentra/Ic2FojOsd7VDR4OG/static/img/mentra-logo-small-dark.png?fit=max\u0026auto=format\u0026n=Ic2FojOsd7VDR4OG\u0026q=85\u0026s=e6a709f34bffb09f9faa2eacea795cec"},"favicon":"https://mintcdn.com/mentra/Ic2FojOsd7VDR4OG/static/img/favicon.ico?fit=max\u0026auto=format\u0026n=Ic2FojOsd7VDR4OG\u0026q=85\u0026s=34a78689509299f0960295137b087de9","navbar":{"links":[{"href":"https://discord.gg/5ukNvkEAqT","label":"Support"}],"primary":{"type":"button","label":"Submit a miniapp","href":"https://apps.mentraglass.com/submit"}},"footer":{"socials":{"x":"https://x.com/mentralabs","github":"https://github.com/Mentra-Community","discord":"https://discord.gg/5ukNvkEAqT"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"variables":{"release-version":"3.4.1","release-artifacts-url":"https://github.com/Mentra-Community/MentraOS/releases/tag/mentra-v3.4.1","example-app-download-label":"Browse React Native example APK releases","example-app-url":"https://github.com/Mentra-Community/MentraOS/releases","example-app-ios-url":"https://appstoreconnect.apple.com/teams/52733bd2-726b-4742-b1e2-1cfc0174c696/apps/6792839366/testflight/groups/1b1daeae-9175-4020-9c1b-52fd6b14cc49"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mentra","hasAudioNarration":false,"actualSubdomain":"mentra","customDomains":["docs.mentraglass.com"],"gitSource":{"type":"github","owner":"mentra-community","repo":"mentraos","deployBranch":"main","contentDirectory":"mintlify-docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b00b0cf54f2ecd7626aa64c","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Miniapp SDK","count":40},{"language":"default","tag":"Bluetooth SDK","count":16},{"language":"default","tag":"Getting Started","count":12},{"language":"default","tag":"Data","count":6},{"language":"default","tag":"Sensors \u0026 Input","count":6},{"language":"default","tag":"Glasses OEMs","count":6},{"language":"default","tag":"Welcome","count":5},{"language":"default","tag":"Camera","count":4},{"language":"default","tag":"Audio \u0026 Speech","count":4},{"language":"default","tag":"Core Concepts","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"bluetooth-sdk/software-update","slug":"/bluetooth-sdk/software-update","pageMetadata":{"title":"Update Mentra Live","description":"Install the Mentra Live glasses software that matches your Bluetooth SDK release.","icon":"download","href":"/bluetooth-sdk/software-update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install the Mentra Live glasses software that matches your Bluetooth SDK release.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Each Bluetooth SDK release has a matching Mentra Live glasses software release. Your mobile app and glasses must use the same release version.`}),`\n`,_jsx(_components.p,{children:`For coordinated releases, the completed release record correlates the exact SDK\npackages and hosted OTA manifest selected for one release. Beta and production\nreleases also publish a portable OTA bundle for self-hosted updates.`}),`\n`,_jsx(_components.p,{children:`The latest matching pair is:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mobile app dependency`}),_jsx(_components.th,{children:`Required glasses software`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`React Native `,_jsx(_components.code,{children:`@mentra/bluetooth-sdk@3.4.1`})]}),_jsxs(_components.td,{children:[`Mentra Live software `,_jsx(_components.code,{children:`3.4.1`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Android `,_jsx(_components.code,{children:`com.mentraglass:bluetooth-sdk:3.4.1`})]}),_jsxs(_components.td,{children:[`Mentra Live software `,_jsx(_components.code,{children:`3.4.1`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`iOS `,_jsx(_components.code,{children:`MentraBluetoothSDK`}),` version `,_jsx(_components.code,{children:`3.4.1`})]}),_jsxs(_components.td,{children:[`Mentra Live software `,_jsx(_components.code,{children:`3.4.1`})]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Bluetooth connection alone does not confirm version compatibility. Glasses running an older software release may connect to an app using SDK `,_jsx(_components.code,{children:`3.4.1`}),`, but SDK features may fail or behave incorrectly. Install the matching `,_jsx(_components.code,{children:`3.4.1`}),` glasses software before testing SDK features.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-version-matching-works`,children:`How Version Matching Works`}),`\n`,_jsxs(_components.p,{children:[`When your app calls `,_jsx(_components.code,{children:`checkForOtaUpdate()`}),`, the SDK checks the OTA manifest matching its own version. The manifest describes the ASG client, MTK system software, and BES firmware required by that SDK release. Calling `,_jsx(_components.code,{children:`startOtaUpdate()`}),` installs the available components after the user accepts the update.`]}),`\n`,_jsx(_components.p,{children:`When you upgrade your app to a new Bluetooth SDK release, run the OTA check again and require the matching glasses software before enabling SDK features.`}),`\n`,_jsx(Heading,{level:`2`,id:`recommended-update-with-an-example-app`,children:`Recommended: Update With An Example App`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`https://github.com/Mentra-Community/Mentra-Bluetooth-SDK-Starter-Kit`,children:`Mentra Bluetooth SDK Starter Kit`}),` includes the complete OTA flow. Build an example app with SDK `,_jsx(_components.code,{children:`3.4.1`}),` to install the matching glasses software.`]}),`\n`,_jsx(_components.p,{children:`Each prebuilt Starter Kit app uses the SDK version identified by its release.\nChoose the installation for your device:`}),`\n`,_jsx(Heading,{level:`3`,id:`ios-iphone`,children:`iOS: iPhone`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://appstoreconnect.apple.com/teams/52733bd2-726b-4742-b1e2-1cfc0174c696/apps/6792839366/testflight/groups/1b1daeae-9175-4020-9c1b-52fd6b14cc49`,children:`Install the React Native example from TestFlight`}),`.\nFor external TestFlight channels, a newly uploaded build appears after Beta App\nReview. Until then, the link continues to serve the latest approved build.`]}),`\n`,_jsx(Heading,{level:`3`,id:`macos-apple-silicon-mac`,children:`macOS: Apple Silicon Mac`}),`\n`,_jsxs(_components.p,{children:[`The same TestFlight build runs on Mac computers with Apple silicon. Install\n`,_jsx(_components.a,{href:`https://apps.apple.com/app/testflight/id899247664`,children:`TestFlight from the Mac App Store`}),`,\nthen `,_jsx(_components.a,{href:`https://appstoreconnect.apple.com/teams/52733bd2-726b-4742-b1e2-1cfc0174c696/apps/6792839366/testflight/groups/1b1daeae-9175-4020-9c1b-52fd6b14cc49`,children:`open the React Native example in TestFlight`}),` and\nselect `,_jsx(_components.strong,{children:`Install`}),`.`]}),`\n`,_jsx(_components.p,{children:`This TestFlight build has been verified on Mac with Mentra Live for Bluetooth\nconnection, OTA updates, and photo capture. Intel-based Macs cannot run the\niPhone and iPad app.`}),`\n`,_jsx(Heading,{level:`3`,id:`android-phone-or-tablet`,children:`Android: Phone Or Tablet`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://github.com/Mentra-Community/MentraOS/releases`,children:`Browse React Native example APK releases`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For another SDK version, open that version’s release on the `,_jsx(_components.a,{href:`https://github.com/Mentra-Community/MentraOS/releases`,children:`MentraOS releases page`}),` (`,_jsx(_components.code,{children:`mentra-v\u003cversion>`}),`) and select `,_jsx(_components.code,{children:`mentra-example-react-native-\u003cversion>.apk`}),` under `,_jsx(_components.strong,{children:`Bluetooth example apps`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`complete-the-android-installation`,children:`Complete The Android Installation`}),`\n`,_jsx(_components.p,{children:`The simplest installation path is to open an APK link on the Android phone:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Download the APK using the phone’s browser.`}),`\n`,_jsx(_components.li,{children:`Open the downloaded file.`}),`\n`,_jsx(_components.li,{children:`If Android asks for permission, allow the browser or Files app to install unknown apps.`}),`\n`,_jsxs(_components.li,{children:[`Tap `,_jsx(_components.strong,{children:`Install`}),`, then open the example app.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`You can alternatively install the APK from a computer. Install `,_jsx(_components.a,{href:`https://developer.android.com/tools/adb`,children:`ADB`}),`, enable USB debugging on the phone, and connect it with a data-capable USB cable:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`phone-seria`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`l`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$HOME`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/Downloads/mentra-example-react-native.apk\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use the serial shown by `,_jsx(_components.code,{children:`adb devices`}),`. If only one Android device is connected, you can omit `,_jsx(_components.code,{children:`-s \u003cphone-serial>`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`install-the-matching-glasses-software`,children:`Install The Matching Glasses Software`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Pair and connect the example app to Mentra Live.`}),`\n`,_jsx(_components.li,{children:`The full-screen update flow checks the glasses automatically.`}),`\n`,_jsxs(_components.li,{children:[`If an update is available, tap `,_jsx(_components.strong,{children:`Update Now`}),`. Factory-stock glasses require\nglasses Wi-Fi for their first update; after they run Mentra Live software 3.1\nor newer, supported phones can use the Mentra Live hotspot instead.`]}),`\n`,_jsx(_components.li,{children:`Keep the app connected and avoid using other glasses features while the update is running.`}),`\n`,_jsx(_components.li,{children:`Wait while the flow installs every required component and rechecks the glasses. They may restart during installation.`}),`\n`,_jsx(_components.li,{children:`Continue when the flow reports that the glasses are up to date.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The example app uses the release-specific OTA manifest selected by its SDK, so it installs the glasses software components matching that exact SDK release.`}),`\n`,_jsx(Heading,{level:`2`,id:`bootstrap-the-update-with-adb`,children:`Bootstrap The Update With ADB`}),`\n`,_jsx(_components.p,{children:`Use this path when the software currently installed on Mentra Live cannot run the SDK OTA flow.`}),`\n`,_jsxs(_components.p,{children:[`Open the `,_jsxs(_components.a,{href:`https://github.com/Mentra-Community/MentraOS/releases/tag/mentra-v3.4.1`,children:[`release artifacts for `,_jsx(_components.code,{children:`3.4.1`})]}),` and download `,_jsx(_components.code,{children:`mentra-live-asg-selection-3.4.1.json`}),`. That record contains the exact ASG client APK URL, filename, and checksum selected for this coordinated release. Download that APK rather than choosing an ASG build by date or version code.`]}),`\n`,_jsxs(_components.p,{children:[`Install `,_jsx(_components.a,{href:`https://developer.android.com/tools/adb`,children:`ADB`}),`, connect Mentra Live to the computer with a data-capable USB cable, and verify that the glasses appear:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Install the ASG client using the glasses serial shown by that command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`glasses-seria`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`l`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$HOME`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/Downloads/\u003cmentra-live-asg-file>.apk\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If only the glasses are connected, you can omit `,_jsx(_components.code,{children:`-s \u003cglasses-serial>`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This command installs only the ASG client selected for `,_jsx(_components.code,{children:`3.4.1`}),`. It does not necessarily install the matching MTK system software or BES firmware. After installing the APK, use an app built with SDK `,_jsx(_components.code,{children:`3.4.1`}),` to install any remaining components and complete the matching glasses software release.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`add-the-ota-requirement-to-your-app`,children:`Add The OTA Requirement To Your App`}),`\n`,_jsx(_components.p,{children:`Every app using the Bluetooth SDK must install the glasses software matching its\nSDK release before enabling version-dependent features. For React Native apps,\nMentra Engine owns the complete Wi-Fi and hotspot OTA sequence, including\nartifact verification, APK/MTK/BES ordering, restarts, retries, and final\nversion verification.`}),`\n`,_jsxs(_components.p,{children:[`Do not reproduce that sequencing with `,_jsx(_components.code,{children:`checkForOtaUpdate()`}),`,\n`,_jsx(_components.code,{children:`startOtaUpdate()`}),`, and `,_jsx(_components.code,{children:`ota_status`}),` listeners in React Native application code.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`wifi_required`}),` is only a legacy bootstrap state. Mentra Live software earlier\nthan 3.1 does not support hotspot OTA. Factory-stock glasses are delivered in\nthis state, so their first update must use a Wi-Fi network configured on the\nglasses. After that update installs Mentra Live software 3.1 or newer,\nsubsequent updates use hotspot OTA whenever the glasses advertise the supported\nhotspot OTA capability, even when glasses Wi-Fi is connected. Glasses without\nthat capability keep the Wi-Fi update path.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`use-the-exact-mentra-app-ota-pages`,children:`Use The Exact Mentra App OTA Pages`}),`\n`,_jsxs(_components.p,{children:[`This is the simplest and safest integration. `,_jsx(_components.code,{children:`MentraLiveOtaFlow`}),` provides the\nsame full-page OTA screens and behavior as the Mentra App.`]}),`\n`,_jsx(_components.p,{children:`Install matching Mentra Engine and Bluetooth SDK releases:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @mentra/engine@VERSION`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @mentra/bluetooth-sdk@VERSION`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Render the flow after Mentra Live connects. Your app owns only the surrounding\nnavigation and its Wi-Fi setup page:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MentraLiveOtaFlow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@mentra/engine/ota\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MentraLiveUpdateProps`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onDone`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSetupWifi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` MentraLiveUpdate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`onDone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`onSetupWifi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MentraLiveUpdateProps`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`MentraLiveOtaFlow`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onFinished`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`onDone`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onOpenWifiSetup`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`onSetupWifi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The component initializes only the Engine projections required by OTA. If your\napp already called `,_jsx(_components.code,{children:`engine.start()`}),`, pass `,_jsx(_components.code,{children:`initializeRuntime={false}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The flow checks again after every install pass. It does not finish until the\nASG client, MTK system software, and BES firmware all match the release\nmanifest. On Android, hotspot OTA requires Android 13 or newer. On iOS, it uses\nthe app’s Bluetooth background execution and does not add a second keep-alive\nmechanism, so updates continue while the phone is locked. That requires the\n`,_jsx(_components.code,{children:`bluetooth-central`}),` background mode: the SDK’s Expo config plugin adds it to\nReact Native apps, and native iOS apps declare it as described in\n`,_jsx(_components.a,{href:`/bluetooth-sdk/ios#background-operation`,children:`Background Operation`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`customize-the-ota-pages`,children:`Customize The OTA Pages`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`useMentraLiveOta`}),` when your app needs different components, layout, colors,\nor navigation. The hook exposes semantic screens and idempotent actions while\nthe same Engine coordinator retains all OTA sequencing:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`56`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`56`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"react-native\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`useMentraLiveOta`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@mentra/engine/ota\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CustomMentraLiveUpdateProps`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onDone`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSetupWifi`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` void`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` CustomMentraLiveUpdate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`onDone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`onSetupWifi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CustomMentraLiveUpdateProps`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ota`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useMentraLiveOta`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` onFinished:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` onDone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` onOpenWifiSetup:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` onSetupWifi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ota`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"checking\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"initializing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Checking for updates…`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"finishing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Finishing your update…`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"update_available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`releaseTransition`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`releaseTransition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fromVersion`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ??`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Current version unknown\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` → `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`releaseTransition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`toVersion`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Update now\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onPress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ota`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`install`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"wifi_required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Set up Wi-Fi\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onPress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ota`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`openWifiSetup`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`canRetry`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Retry\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onPress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ota`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`retryInstall`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`canDismiss`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Later\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onPress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ota`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dismiss`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"up_to_date\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"complete\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`releaseTransition`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Updated to `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`releaseTransition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`toVersion`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`completedUpdate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`screen`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"complete\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Done\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Continue\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onPress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ota`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`finish`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`View`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`progress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Preparing update…\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`progress`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"%`\"}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`state.releaseTransition`}),` is present when the checked OTA manifest belongs to a\ncoordinated Mentra release. `,_jsx(_components.code,{children:`toVersion`}),` is that exact release identity. The\ncurrent `,_jsx(_components.code,{children:`fromVersion`}),` is the ASG client version reported by the glasses and may\nbe `,_jsx(_components.code,{children:`null`}),` on older installations, so custom pages should keep an honest unknown\nfallback. When glasses report their coordinated release identity directly,\nEngine can replace this one source-version lookup without changing customer UI\ncode. Engine captures the pair before installation and retains it through\nrestarts and final verification.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`finishing`}),` screen means the approved session is checking for additional\nrequired passes. Do not render terminal success or release notes until the\ncontroller reaches `,_jsx(_components.code,{children:`up_to_date`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`state.completedUpdate`}),` to distinguish a terminal update session from a\nstandalone check that was already up to date. Release metadata is optional, so\ndo not infer completion from `,_jsx(_components.code,{children:`state.releaseTransition`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Start from the Starter Kit’s\n`,_jsx(_components.a,{href:`https://github.com/Mentra-Community/Mentra-Bluetooth-SDK-Starter-Kit/tree/main/examples/react-native/src/ota`,children:`custom OTA presentation folder`}),`\nand change its presentation components and styles. Call only the controller’s\nactions. Do not copy or modify update ordering, hotspot setup, watchdogs, or\nrestart recovery, and do not import `,_jsx(_components.code,{children:`@mentra/bluetooth-sdk/internal`}),`, Engine\nstores, or Engine services.`]}),`\n`,_jsx(Heading,{level:`2`,id:`native-android-and-ios-apps`,children:`Native Android And iOS Apps`}),`\n`,_jsxs(_components.p,{children:[`Mentra Engine’s complete controller is currently a React Native integration.\nNative Android and iOS apps use the lower-level OTA commands and events in the\n`,_jsx(_components.a,{href:`/bluetooth-sdk/api-reference#ota-updates`,children:`API Reference`}),` and must preserve the\ndocumented OTA contract, including repeated checks across multi-component\nupdates and restart recovery.`]}),`\n`,_jsxs(_components.p,{children:[`Mentra Live rejects an OTA start when its known battery level is below 5% and\nreports `,_jsx(_components.code,{children:`battery_low`}),`. An unknown glasses battery remains fail-open. Keep an\napp-level battery check as the user-facing policy; the glasses check is defense\nin depth.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Mentra Live","description":"Install the Mentra Live glasses software that matches your Bluetooth SDK release.","icon":"download","href":"/bluetooth-sdk/software-update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How Version Matching Works","slug":"how-version-matching-works","depth":2,"children":[]},{"title":"Recommended: Update With An Example App","slug":"recommended-update-with-an-example-app","depth":2,"children":[{"title":"iOS: iPhone","slug":"ios-iphone","depth":3,"children":[]},{"title":"macOS: Apple Silicon Mac","slug":"macos-apple-silicon-mac","depth":3,"children":[]},{"title":"Android: Phone Or Tablet","slug":"android-phone-or-tablet","depth":3,"children":[]},{"title":"Complete The Android Installation","slug":"complete-the-android-installation","depth":3,"children":[]},{"title":"Install The Matching Glasses Software","slug":"install-the-matching-glasses-software","depth":3,"children":[]}]},{"title":"Bootstrap The Update With ADB","slug":"bootstrap-the-update-with-adb","depth":2,"children":[]},{"title":"Add The OTA Requirement To Your App","slug":"add-the-ota-requirement-to-your-app","depth":2,"children":[]},{"title":"Use The Exact Mentra App OTA Pages","slug":"use-the-exact-mentra-app-ota-pages","depth":2,"children":[]},{"title":"Customize The OTA Pages","slug":"customize-the-ota-pages","depth":2,"children":[]},{"title":"Native Android And iOS Apps","slug":"native-android-and-ios-apps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mentra/d6ac89b7728e0f1f/preserve-anchor-scroll.js"],"subdomain":"mentra","siteName":"MentraOS","title":"Update Mentra Live - MentraOS","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T20:43:00.649Z","originalFileLocation":"bluetooth-sdk/software-update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Install the Mentra Live glasses software that matches your Bluetooth SDK release.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MentraOS\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Mentra Live - MentraOS\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install the Mentra Live glasses software that matches your Bluetooth SDK release.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MentraOS\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mentraglass.com/bluetooth-sdk/software-update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mentra.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Update+Mentra+Live\u0026amp;description=Install+the+Mentra+Live+glasses+software+that+matches+your+Bluetooth+SDK+release.\u0026amp;theme=24cbb4c7be6f5da2f89bc8a6\u0026amp;signature=594af4c42b24e90b6bb63ea05d01ef781d4c0db8b75c0cce6a68e38eea2cc226\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Mentra Live - MentraOS\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install the Mentra Live glasses software that matches your Bluetooth SDK release.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mentra.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Update+Mentra+Live\u0026amp;description=Install+the+Mentra+Live+glasses+software+that+matches+your+Bluetooth+SDK+release.\u0026amp;theme=24cbb4c7be6f5da2f89bc8a6\u0026amp;signature=594af4c42b24e90b6bb63ea05d01ef781d4c0db8b75c0cce6a68e38eea2cc226\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mentra/InAyfqpu6yP1rzvl/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MentraOS\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00b869\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mentraglass.com/bluetooth-sdk/software-update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/bluetooth-sdk/software-update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mentraglass.com/#organization\",\"name\":\"MentraOS\",\"url\":\"https://docs.mentraglass.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mentra/Ic2FojOsd7VDR4OG/static/img/mentra-logo-small.png?fit=max\u0026auto=format\u0026n=Ic2FojOsd7VDR4OG\u0026q=85\u0026s=7ed2329b5f0a9ef047039a9a65635a55\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mentraglass.com#website\",\"name\":\"MentraOS\",\"url\":\"https://docs.mentraglass.com\",\"publisher\":{\"@id\":\"https://docs.mentraglass.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update#webpage\",\"url\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update\",\"name\":\"Update Mentra Live\",\"description\":\"Install the Mentra Live glasses software that matches your Bluetooth SDK release.\",\"dateModified\":\"2026-11-20T20:43:00.649Z\",\"isPartOf\":{\"@id\":\"https://docs.mentraglass.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting Started\",\"item\":\"https://docs.mentraglass.com/bluetooth-sdk/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Mentra Live\",\"item\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update#article\",\"headline\":\"Update Mentra Live\",\"name\":\"Update Mentra Live\",\"description\":\"Install the Mentra Live glasses software that matches your Bluetooth SDK release.\",\"url\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mentraglass.com/bluetooth-sdk/software-update#webpage\"},\"dateModified\":\"2026-11-20T20:43:00.649Z\",\"publisher\":{\"@id\":\"https://docs.mentraglass.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mentraglass.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MentraOS\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MentraOS\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/bluetooth-sdk/software-update.md","siteName":"MentraOS","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"Miniapp SDK","pages":[{"title":"Miniapp SDK","href":"/app-devs/getting-started/overview"}]},{"tab":"Bluetooth SDK","groups":[{"group":"Getting Started","icon":"compass","pages":[{"title":"Mentra Bluetooth SDK","icon":"bluetooth","href":"/bluetooth-sdk/overview"},{"title":"Quickstart","icon":"rocket","href":"/bluetooth-sdk/quickstart"},{"title":"Build from Scratch","icon":"screwdriver-wrench","href":"/bluetooth-sdk/build-from-scratch"},{"title":"Pair Mentra Live","description":"Add the Mentra App's Mentra Live pairing flow to your React Native app, with your own pages if you want them.","icon":"link","href":"/bluetooth-sdk/pairing"},{"title":"Update Mentra Live","icon":"download","href":"/bluetooth-sdk/software-update"},{"title":"AI IDE Integration","description":"Connect your AI coding assistant to MentraOS docs for smarter development","icon":"robot","href":"/bluetooth-sdk/ai-ide-integration"}]},{"group":"Platform Setup","icon":"gears","pages":[{"title":"React Native / Expo","icon":"mobile-screen-button","href":"/bluetooth-sdk/react-native-expo"},{"title":"Android","icon":"android","href":"/bluetooth-sdk/android"},{"title":"iOS","icon":"apple","href":"/bluetooth-sdk/ios"},{"title":"macOS","icon":"desktop","href":"/bluetooth-sdk/macos"}]},{"group":"Core APIs","icon":"glasses","pages":[{"title":"API Reference","icon":"book","href":"/bluetooth-sdk/api-reference"},{"title":"Audio","icon":"microphone","href":"/bluetooth-sdk/audio"},{"title":"Camera And Streaming","icon":"camera","href":"/bluetooth-sdk/camera-streaming"},{"title":"Hardware Integration","icon":"microchip","href":"/bluetooth-sdk/hardware"}]},{"group":"Release","icon":"clipboard-check","pages":[{"title":"Troubleshooting","icon":"circle-question","href":"/bluetooth-sdk/troubleshooting"},{"title":"Production Checklist","icon":"clipboard-check","href":"/bluetooth-sdk/production-checklist"}]}]},{"tab":"Glasses OEMs","pages":[{"title":"Glasses OEMs","href":"/glasses-oems/overview"}]}]},"basePath":"","title":"Update Mentra Live - MentraOS","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}