Skip to content

Building and releasing the app

Terminal window
npx eas-cli@latest login
npx eas-cli@latest init # writes the projectId into app.json
npx eas-cli@latest build --profile development --platform ios # dev client for the camera
npx eas-cli@latest build --profile production --platform all
npx eas-cli@latest submit --platform all

Expo Go cannot run the camera scanner reliably on every device, so make a development build early. The bundle ids are com.filocan.app on both platforms.

  • Test account. Reviewers cannot receive an SMS to your Twilio number. supabase/config.toml lists two test numbers with the fixed code 123456; enable the same in the hosted project’s Auth settings and put both numbers in the review notes, with instructions to pair the two test devices using ‘Copy code text’.
  • Encryption export compliance. ITSAppUsesNonExemptEncryption is true in app.json because the app uses non-standard (non-HTTPS) encryption. Filocan uses only standard algorithms (X25519, ChaCha20, SHA-256), which qualifies for the mass-market exemption; file the annual self-classification report with BIS (a one page email) and answer ‘yes, exempt’ in App Store Connect.
  • In-app purchase. The A$1 skip must be an IAP on iOS and Android (it unlocks a feature inside the app). Create a non-consumable product skip_cooling_off in both stores. On web, Stripe Checkout. The client sets cooling_off_skipped only via a server-side webhook, never directly.
  • Account deletion. Both stores require it. The Us tab has ‘Cut the string’; add ‘Delete my account’ beneath it, which calls a delete_account RPC that removes the profile and auth user.
  • Privacy labels. Data collected: phone number (app functionality), user id. Not linked to identity for advertising. No tracking.
  • Age rating. 12+ / Teen because of unfiltered user-to-user messaging.

eas update can push JavaScript changes without a store release. Never ship a crypto change over the air without a version bump in PROTOCOL_VERSION; envelopes carry v so old and new clients can be told apart.

npm run export:web -w apps/app produces a static bundle in apps/app/dist; deploy it as the filocan-app Pages project at app.filocan.com. Until the linked-device flow is built, the web app works as a standalone identity (its own keypair in localStorage), which is fine for testing and for the demo but should be labelled ‘beta’ on the site.