Commit 55d793a
fix(react): use explicit experimental flag for headless runtime instead of standardBrowser
Replace the `standardBrowser !== false` check with an explicit
`experimental.runtimeEnvironment === 'headless'` opt-in for the
`loadHeadlessClerk` path. This ensures only Expo native takes the
headless initialization path, while chrome-extension and all other
SDKs continue using `getEntryChunks` (matching main branch behavior).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0c84f42 commit 55d793a
3 files changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
287 | 290 | | |
| 291 | + | |
| 292 | + | |
288 | 293 | | |
289 | 294 | | |
290 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1254 | 1254 | | |
1255 | 1255 | | |
1256 | 1256 | | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1257 | 1262 | | |
1258 | 1263 | | |
1259 | 1264 | | |
| |||
0 commit comments