Skip to content

fix(expo-example): add EAS local build config and fix HMR bug with secureStoreStamper#141

Merged
andrascodes merged 1 commit into
mainfrom
andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper
May 14, 2026
Merged

fix(expo-example): add EAS local build config and fix HMR bug with secureStoreStamper#141
andrascodes merged 1 commit into
mainfrom
andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper

Conversation

@andrascodes
Copy link
Copy Markdown
Collaborator

@andrascodes andrascodes commented Apr 29, 2026

This PR is part of a stack created with Aviator.

I discovered a bug when testing OTP. If I backgrounded the app to copy the code from the email and then went back to the app to verify the code it caused an app refresh. This only appeared in dev mode as I tested with EAS CLI using a local APK build too (package.json and eas.json change are for the local APK build).
The cause is a dynamic import in Turnkey which gets bundled only at the first stamp with the secureStoreStamper. So the fix is essentially a "warmup" to trigger a dummy stamp on initialization. This fix only runs in DEV mode.

@andrascodes andrascodes marked this pull request as ready for review April 29, 2026 16:19
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 038a77f to 4e1ddf4 Compare April 30, 2026 16:43
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 3d0a9db to a3664fc Compare April 30, 2026 16:43
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 038a77f to 4e1ddf4 Compare April 30, 2026 16:43
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from a3664fc to d49848a Compare May 4, 2026 13:12
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch 2 times, most recently from b16289e to f85ba70 Compare May 4, 2026 16:56
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch 2 times, most recently from 31e2f8f to fe9ea1e Compare May 5, 2026 11:02
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch 2 times, most recently from 4cfdbeb to 7419e0d Compare May 5, 2026 11:28
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from fe9ea1e to 5818e6e Compare May 5, 2026 11:28
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 5818e6e to 7165b6b Compare May 5, 2026 13:22
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 7419e0d to 0d1ee27 Compare May 5, 2026 13:22
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 7165b6b to e98b159 Compare May 5, 2026 14:31
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 0d1ee27 to cae5acb Compare May 5, 2026 14:31
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from e98b159 to c466a44 Compare May 5, 2026 14:51
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from cae5acb to 1e2af0c Compare May 5, 2026 14:51
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 82ba22d to 459c597 Compare May 13, 2026 10:45
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 629cb2c to 246a94b Compare May 13, 2026 10:45
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 246a94b to ff5780b Compare May 13, 2026 11:31
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 459c597 to 32d677b Compare May 13, 2026 11:31
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from ff5780b to 290a894 Compare May 13, 2026 12:00
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 32d677b to bc64efe Compare May 13, 2026 12:00
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from bc64efe to dd6f516 Compare May 13, 2026 14:38
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 290a894 to 1942f3e Compare May 13, 2026 14:38
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 1942f3e to a43eaaf Compare May 13, 2026 16:07
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from dd6f516 to a36a497 Compare May 13, 2026 16:07
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from a36a497 to c91dd13 Compare May 13, 2026 17:08
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from a43eaaf to 2dfe3b7 Compare May 13, 2026 17:08
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from c91dd13 to 1c64fca Compare May 14, 2026 05:50
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 2dfe3b7 to 2e098e0 Compare May 14, 2026 05:50
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 2e098e0 to b4c71ef Compare May 14, 2026 06:09
@andrascodes andrascodes force-pushed the andras/feat-expo-example-migrate-to-expo-router branch from 1c64fca to 34f2eee Compare May 14, 2026 06:09
@andrascodes andrascodes changed the base branch from andras/feat-expo-example-migrate-to-expo-router to main May 14, 2026 06:43
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from b4c71ef to a8d9604 Compare May 14, 2026 06:43
@andrascodes andrascodes merged commit 04ad753 into main May 14, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants