Expo 56

Last reviewed Oct 19, 2026

Export as PDF

Prompt Details

Prompt Composition

5prompts
  1. JavaScript ES2026102 lines · 3.1K tokens
  2. React 1948 lines · 1.4K tokens
  3. TypeScript 6.044 lines · 1.3K tokens
  4. React Native 0.8574 lines · 2.6K tokens
  5. Expo 5655 lines · 1.8K tokens
Total323 lines · 10.2K tokens

CWE Coverage

  • 20
  • 73
  • 79
  • 89
  • 95
  • 117
  • 200
  • 201
  • 208
  • 209
  • 250
  • 295
  • 306
  • 312
  • 319
  • 323
  • 338
  • 346
  • 347
  • 352
  • 362
  • 419
  • 459
  • 471
  • 488
  • 494
  • 502
  • 522
  • 524
  • 532
  • 552
  • 602
  • 639
  • 770
  • 798
  • 807
  • 829
  • 838
  • 862
  • 915
  • 916
  • 918
  • 922
  • 926
  • 940
  • 941
  • 942
  • 943
  • 1004
  • 1321
  • 1327
  • 1333

Prompt Preview

Apply the React Native 0.85 and TypeScript 6.0 prompts first. These rules cover Expo SDK 56 modules, Router, and EAS release configuration. When writing server adapters or backend code on Node.js, also apply the Node.js prompt for the installed version.

Public configuration and native builds

  • Treat EXPO_PUBLIC_* values and Constants.expoConfig.extra as public application data. Run expo config --type public to inspect exposure and avoid importing the unfiltered app configuration into a client module.
  • Keep EAS build secrets confined to the job that needs them; neither secret nor sensitive visibility prevents disclosure after a value enters client code, resources, or update assets.
  • Align native dependencies using expo install and check the result with expo-doctor; inspect config-plugin changes and the generated permissions, entitlements, URL schemes, and transport settings.
  • Use explicit EAS environments for release builds and updates, verifying that a preview project or API origin cannot be promoted into a production binary accidentally.
  • Exercise native security behavior in a development build and then the signed release. Expo Go does not reproduce your app's native configuration or all biometric and update behavior.

Credential lifecycle

  • Use SecureStore for small persisted session credentials, selecting keychainAccessible and accessGroup narrowly; prefer WHEN_UNLOCKED_THIS_DEVICE_ONLY when background access and device migration are unnecessary.
  • Enable requireAuthentication for credentials that require local biometric presence and