Free

Chapter 12. Build apps with Codex: PWA, mobile or desktop

Compare a website, PWA, mobile app, Tauri and a Chrome extension. Review permissions, device behavior, builds and release requirements for your task.

All chapters

Choose between a website, PWA and installable app based on the required action and user’s device. Test one scenario first, then plan building, signing and publishing.

Start with one user action. For example: open your request list and add a new one. For the first app, you don't need chat, map, subscription, and social network all at once.

Website, PWA or mobile app

Option What the user gets What to check
Regular Site Page in browser Narrow screen, connection, and login
PWA Site with supported installation and offline operation features Behavior specifically in the selected browser and OS.
Mobile application Installable package Device, access, signature, and store requirements

PWA means a web app with additional capabilities. You cannot promise identical push notifications, camera, and offline work on all devices. First specify required features and check their support.

For cloud building of a mobile project, consider Expo and EAS. Signed build, upload, and store appearance are separate steps. Developer accounts and signing data are required. A cloud service does not remove Apple’s or Google’s requirements.Expo build.

EAS Submit allows sending iOS builds from Windows and Linux. But uploading to TestFlight does not yet mean release to the App Store: app info and store review remain. Sending to stores.

What to Choose: Mobile App, Desktop, or Extension

Camera, notifications and AI

Request camera access when the person clicks "Take photo." Explain why it's needed. Denial should leave a clear path: choose file or continue without photo.

For notifications, check receipt on a real device, action on tap, and disabling. Granting permission does not prove that a notification was delivered.

If the app calls a paid model, keep the secret key on the server. Validate user requests before costly actions. Add size, frequency, and expense limits. A key in a distributed app can be extracted.

What to Choose: Mobile App, Desktop, or Extension

Desktop and browser extensions

For a separate desktop app, consider Tauri. It requires Rust; for Windows, also C++ Build Tools and WebView2. Installation, signing, and updating are checked on each OS. Tauri requirements.

The Chrome extension is a separate project, not a Codex plugin. Manifest V3 describes its permissions and background code operation. Executable code cannot be simply loaded from another server as an extension update. Manifest V3.

Start with action on current page triggered by user click. Request only needed sites and capabilities. Do not include server secret key in package. Extension security.

Build a Chrome extension

Before distribution, check installation on a clean system, removal, update, and user data preservation. A successful run from the editor does not confirm that the installer is ready.

Self-guided instructions for the chapter

In This Article
Saved