# @iris/mobile

Iris AI Assistant - Mobile Application

Expo / React Native app. Run `pnpm start` to launch the Expo dev client, or use `eas build` for native binaries.

## Scripts

| Command                  | Definition                                                                       |
| ------------------------ | -------------------------------------------------------------------------------- |
| `pnpm start`             | react-native start                                                               |
| `pnpm android`           | react-native run-android                                                         |
| `pnpm ios`               | react-native run-ios                                                             |
| `pnpm build:android`     | cd android && ./gradlew assembleRelease                                          |
| `pnpm build:ios`         | cd ios && xcodebuild -workspace Iris.xcworkspace -scheme Iris -configuration Rel |
| `pnpm lint`              | eslint . --ext .ts,.tsx                                                          |
| `pnpm typecheck`         | tsc --noEmit                                                                     |
| `pnpm test`              | jest                                                                             |
| `pnpm test:coverage`     | jest --coverage                                                                  |
| `pnpm test:a11y-signoff` | node scripts/wcag-a11y-signoff-v1-p2-3514.mjs                                    |
| `pnpm clean`             | react-native clean                                                               |
| `pnpm pod-install`       | cd ios && pod install                                                            |

## Layout

- `android/`
- `ios/`
- `scripts/`
- `src/`

## Working on this package

The fastest local loop is via Nx:

```bash
pnpm nx test iris-mobile
pnpm nx lint iris-mobile
pnpm nx build iris-mobile
```

When Nx is unhappy (usually because another worktree has duplicate project
names), bypass it with the underlying tools from this directory:

```bash
npx tsc --noEmit
npx vitest run
```

See the [root README](../../../README.md) for monorepo-wide conventions
(catalog deps, commit format, git workflow). See the
[Contributor Guide](../../../docs/CONTRIBUTING.md) for the full PR workflow.
