# Testing and submission

Checked 2026-11-17. Sources: [Simulator](https://hub.evenrealities.com/docs/test/simulator), [Local Testing](https://hub.evenrealities.com/docs/test/local-testing), [Private Testing](https://hub.evenrealities.com/docs/test/private-testing), [Beta Testing](https://hub.evenrealities.com/docs/test/beta-testing), [App Submission & QA](https://hub.evenrealities.com/docs/ship/app-submission).

## Tools

```sh
npm install -g @evenrealities/evenhub-cli @evenrealities/evenhub-simulator
npm install @evenrealities/even_hub_sdk@latest   # inside the app project, not -g
```

Official starters (MIT licensed): `npx degit even-realities/evenhub-templates/minimal my-app` (also `text-heavy`, `asr`, `image`) ([Templates](https://hub.evenrealities.com/docs/get-started/quickstart/templates)).

## Four test modes

| Mode | How | Good for | Misses |
| --- | --- | --- | --- |
| Simulator | `evenhub-simulator http://localhost:5173` | Layout, copy, event logic, CI via `--automation-port` | Hardware timing, BLE, real fonts and greyscale, permissions, background lifecycle |
| Local (QR) | `evenhub qr --url "http://<LAN-IP>:5173"`, scan in the Even app (Developer Mode) | Real input, device APIs, HMR on glasses | Background/lock, packaging, some permission prompts |
| Private build | `evenhub pack` then upload; install from Me -> Apps -> Private builds | Manifest validation, real permission prompts, install flow | 5-minute lock test, other testers, glasses menu entry |
| Beta build | Upload, promote to Beta (`evenhub promote <version> --to beta`), tester must be Active | Reviewer-equivalent behaviour, locked phone, glasses menu | - |

Simulator debugging: `RUST_LOG=debug evenhub-simulator <url>` shows calls received; right-click the webview and Inspect Element for console. Automation API (0.7.0+): `GET /api/ping`, `GET /api/screenshot/glasses`, `GET /api/console`, `POST /api/input` with actions `up, down, click, double_click, long_press, long_press_release, context_menu`.

QR sideload trouble is usually firewall or Wi-Fi client isolation; pin the Vite HMR host to the LAN IP.

"Test version expired" on a beta install means the build is not promoted to Beta or the tester is still Invited, not Active.

## Reviewer focus (summary)

- 5-minute locked-phone test on a beta install: state kept, no spinner or black screen.
- Root double press opens the system exit dialog (`shutDownPageContainer(1)`), and the phone WebView closes after confirm.
- Each permission is used; denial paths degrade gracefully; privacy policy covers every permission.
- First run that needs setup explains it on the glasses; setup persists across launches.
- After exit, first-party apps (e.g. Conversate) launch without restarting the glasses.
- Store icon: 24x24, 1-bit, built from 2x2 pixel blocks; screenshots from the simulator; name matches `app.json`.
- No medical diagnosis, financial advice or emergency routing; no impersonation.
- Non-empty release notes per supported language for new versions.

Submitting for review and publishing happen in the developer portal (hub.evenrealities.com). Published versions cannot be edited or rolled back.
