Expo 56
Last reviewed Oct 19, 2026
Prompt Details
Prompt Composition
5prompts
- JavaScript ES2026102 lines · 3.1K tokens
- React 1948 lines · 1.4K tokens
- TypeScript 6.044 lines · 1.3K tokens
- React Native 0.8574 lines · 2.6K tokens
- 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 andConstants.expoConfig.extraas public application data. Runexpo config --type publicto 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 installand check the result withexpo-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
SecureStorefor small persisted session credentials, selectingkeychainAccessibleandaccessGroupnarrowly; preferWHEN_UNLOCKED_THIS_DEVICE_ONLYwhen background access and device migration are unnecessary. - Enable
requireAuthenticationfor credentials that require local biometric presence and