Add stats collection and first-run on-glasses onboarding app

This commit is contained in:
James Babcock committed 2026-10-10 17:33:32 -07:00
1 parent 84baee9c76
commit 406cefe0c5
73 files changed
+3906 -98

No files matched your search

+5
View File
@@ -6,5 +6,10 @@ import { registerPhoneRotation } from './native/phone-rotation'
installNativeUserAgent()
registerShareIntentHandler()
registerPhoneRotation()
// Opt-in analytics (app/analytics/), started once the app is up rather than
// loading its imports on the boot path.
Application.on(Application.launchEvent, () => {
setTimeout(() => require('./analytics/analytics-sources').startAppAnalytics(), 0)
})
Application.run({ moduleName: 'app-root' })