Build a mobile app with Cursor
Build a first mobile screen with Cursor and Expo, then check its interactions using fictional documents.
What you will create
Build a first mobile screen listing fictional documents with Cursor, then test it with Expo. This prototype teaches the request, edit and check cycle. It does not scan real documents, perform OCR or constitute a published app.
Before you start
Use Cursor and an already initialized Expo test project, compatible Node.js and a configured phone or simulator. Check that your project version matches the Expo environment: Expo Go support changes over time. Start from a copy without secrets, personal documents or cloud connections. Do not disable execution protections to move faster.
Step-by-step
- Open the project folder in Cursor and run its initial screen before requesting changes. Keep this baseline to distinguish setup issues from errors introduced later.
- In Agent, ask it to inspect the existing structure and propose which files to change. Do not assume a universal filename: it depends on the Expo template.
- Request only the screen below. Ask it to reuse existing dependencies without camera access, networking, accounts or persistent storage. Review proposed commands and file changes.
- Run
npx expo startin the project terminal. Open the project in a compatible test environment. On a phone, check network and Expo sign-in requirements; on physical iOS, current rules require matching Expo Go and CLI accounts. - Test every interaction. For a fix, provide the gesture, observed behavior and expected result. Rerun the entire checklist afterwards, not only the repaired button.
Example to adapt
Original brief: “Create a Documents screen with three fictional cards: Test invoice, Test receipt and Test note. Each card has a title and a Mark reviewed button. A counter shows how many are reviewed out of three. The button toggles reviewed status. A Reset button makes all three unreviewed. No capture, file reading or transmission.”
Check your result
Initially: 0/3. Tap Test invoice once: 1/3. Tap the same card again: 0/3. Review all three: 3/3. Reset should return to 0/3. Check that status does not depend on color alone, titles remain readable and no button is hidden on small screens. These expectations were not executed in Cursor or Expo for this guide.
Common problems
Inconsistent counter: derive it from the three statuses rather than incrementing it separately. Project will not open: first check SDK, device and connection compatibility. Unrequested features: remove them before proceeding. Regression: compare files against the baseline; the agent saying “done” does not replace a device test.
Next steps
Read the Cursor profile on QAILT. Treat camera, storage and OCR as separate stages requiring their own permissions, dependencies and tests, never as already completed capabilities.






