This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index at /llms.txt, or add .md to any page's URL.
Standard modules
Every prebuilt module an Exact app can add, grouped by what it does, and how to add one.
Exact's standard modules are prebuilt packages for platform features such as
in-app purchases, notifications, and the camera. Each one is in the checkout's
packages/ folder and is named @exact/<module>. To add one, give your agent
the prompt, or run bun exact.mjs add in the app's folder:
Add a standard module
Paste this into Claude, Cursor, Codex, or another agent.
bun exact.mjs add adds the module to the app's package.json as a path into the
checkout and installs it, so the module never differs from the Exact that the
app compiles against. Then import what you use: use … from "@exact/purchases"
in app.contract, or import in app.ts. When a module needs the person's
permission, the command also prints the grant to add to app.ts. The
permissions recipe shows that flow.
Many modules use the names of the matching web API. For example,
@exact/geolocation has the Geolocation API's getCurrentPosition, and
@exact/purchases follows the Digital Goods API. A module name links to its
recipe when one exists.
Module | What it does |
|---|---|
OAuth 2.0 and OpenID Connect sign-in from data code: authorization code with PKCE, token refresh, an authorized fetch, and sign-out. | |
Sign in with Apple and Google in the provider's sheet or popup, with an ID token for the app's server. | |
@exact/passkeys | Passkeys: register, sign in, and tell the credential manager what the server knows. |
@exact/local-auth | A check of the person in front of the device, and secrets that only a person present can read. |
@exact/attestation | A proof for the app's server that a request comes from a genuine build on a genuine device (App Attest and Play Integrity). |
@exact/age-range | The person's age range, as the app stores provide it (Declared Age Range and Play Age Signals). |
@exact/tracking-consent | Apple's App Tracking Transparency prompt, on iOS and tvOS. |
Module | What it does |
|---|---|
In-app purchases and subscriptions through the App Store or Google Play. | |
@exact/payments | Payment for physical goods and services with Apple Pay or Google Pay. |
@exact/store-review | The store's own rating prompt. |
Whether the store has a newer binary of the app, its store page, and Google Play's in-app update flows. |
Module | What it does |
|---|---|
@exact/notifications | Local notifications, their clicks, the app badge, and the permission. |
@exact/push | Push messages from the app's own server, including Expo push token exchange. |
@exact/alarms | An alert at a time or after a countdown that rings through silent mode and Focus. |
@exact/calls | Voice and video calls in the system's call interface: CallKit on iOS, Core-Telecom on Android, and Media Session on the web. |
Work the platform runs while the app is not on screen. | |
Uploads and downloads that the system finishes after the app leaves the screen. |
Module | What it does |
|---|---|
Where the device is. | |
@exact/geocoding | Places for an address or a coordinate, from the platform's geocoder. |
@exact/geofencing | Regions the platform watches while the app is closed, with an event when the device enters or leaves one. |
@exact/maps | The exact-map view: MapKit on Apple, the Maps SDK on Android, and the app's raster tiles on the web. |
Module | What it does |
|---|---|
@exact/camera | A viewfinder and photo capture, and a photo or video from the system camera. |
@exact/media-capture | Camera and microphone streams (getUserMedia), which the camera and recording modules share. |
@exact/recording | Camera and microphone streams recorded to files, and audio levels. |
@exact/photos | The person's photo library: read photos and add new ones. |
@exact/speech-recognition | Speech to text from the microphone, a stream, or a file. |
@exact/speech-synthesis | Text spoken aloud. |
Module | What it does |
|---|---|
@exact/barcode-detection | Barcodes and QR codes in a still image, or live in a camera stream the app shows. |
@exact/face-detection | Faces in a still image. |
@exact/text-detection | Text in a still image. |
@exact/translation | Translation and language detection on the device. |
@exact/language-model | The device's own language model. |
Module | What it does |
|---|---|
The battery, the network type, data saving, and the power state, as live values. | |
@exact/motion | Acceleration, rotation, the magnetic field, and orientation. |
@exact/altimeter | Air pressure, and the change in height since reading began. |
@exact/pedometer | The steps the device counted since a given time. |
@exact/health | Steps, distance, active energy, and workouts from the platform's health store. |
Read and write NFC tags. |
Module | What it does |
|---|---|
@exact/contacts | The person's contacts, from the system's picker or the address book. |
@exact/calendar | The person's calendars: add an event in the system's editor, or read and write events. |
@exact/compose | The system's mail and message composers, filled in for the person to send. |
@exact/clipboard | The clipboard: read text and images, and write an image with its text. |
Module | What it does |
|---|---|
The app's icon, chosen from the alternate icons the app ships. | |
@exact/quick-actions | The menu on the app's icon. |
@exact/search-index | The app's content in the system's search. |
Module | What it does |
|---|---|
@exact/dock | Ask for the person's attention from the Dock or the taskbar. |
@exact/login-item | Open the app when the person logs in. |
@exact/global-shortcuts | A key combination that reaches the app while another app is in front. |
The displays, and where the pointer is. | |
Still images of a display, a region, or a window. | |
@exact/child-process | Programs that a desktop app's data code starts. |
Module | What it does |
|---|---|
USB devices and their transfers. | |
HID devices and their reports. | |
Serial ports: line settings, signals, and the bytes in and out. | |
@exact/gamepad | Connected game controllers, their button labels, rumble, and light. |
Services on the local network, found by DNS-SD. |
Module | What it does |
|---|---|
A web page over the app with the platform's browser controls, or in the browser beside it. | |
@exact/browser | Clear the data of a partitioned iframe. |
Scripts, input, and dialogs in a partitioned iframe's page. |
Module | What it does |
|---|---|
Convex from data code: live queries, mutations, and actions over one socket. | |
A glTF model on a canvas, with camera controls, preset views, and labels. | |
A canvas that a WGSL fragment shader draws. |
Is this helpful
Last updated November 30, 2026