Commit 58e97c6
committed
fix: expo plugin sodium not working on SDK 55+
Expo SDK 55 removed ENV['RCT_NEW_ARCH_ENABLED'] from the Podfile
template since New Architecture is now mandatory (RN 0.83+). The
withSodiumIos plugin was using that line as a regex anchor to insert
ENV['SODIUM_ENABLED'], so the replacement silently matched nothing.
Instead of anchoring to any specific Podfile line, prepend the ENV
assignment to the top of the file. This works regardless of Podfile
template changes across Expo SDK versions.
Fixes #9571 parent 750767b commit 58e97c6
1 file changed
Lines changed: 1 addition & 6 deletions
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 18 | + | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| |||
0 commit comments