Skip to content

Commit

Permalink
fix: errors on ses (#596)
Browse files Browse the repository at this point in the history
* refactor: feature toggle using hathor unleash client

* feat: handling feature updates

* feat: added SES to the project and enabled lockdown

* chore: added patch-package and patch to react-native

* chore: removed unused diff from react-native patch

* chore: added allow-scripts

* chore: added updated allowScript config

* chore: added sha256sum of lockdown file

* refactor: moved lavamoat lockdown to a patch instead of entrypoint

* refactor: removed ses from package.json, reading from file

* chore: fix lint by ignoring lockdown

* chore: allowing root postinstall and running allow-scripts on npm run setup

* chore: added comment explaining why we can't use hermes

* chore: uninstall ses as we're using a downloaded file

* chore: removed unused diff from react-native patch

* chore: no need to remove polyfill promise as injecting it on initializeCore fixes the issue

* chore: updated react-native patch to include react-native-mmkv and use it

* feat: added ses saga and restarting bundle when ses is disabled

* chore: added a document explaining how to update SES

* chore: added postinstall to setup script and updated packages

* chore: fixed allow-scripts version

* chore: added patch-package to postinstall

* chore: added MKMV to podfile.lock

* chore: reading ses enabled from constant

* feat: yield fatal error when SES should be enabled but is not

* refactor: improved verifySesEnabled method

* chore: update sentry version (#578)

* feat: update SES to 1.5.0

* feat: patched intl to work in SES

* refactor: updated react-native patch import order

* feat: improved logging and updated podfile with sentry update and mmkv

* fix: typo

* docs: improved comment on unleash disabled

* refactor: use isSESEnabled

* chore: updated sha256sums

* docs: updated SES_AND_LAVAMOAT document with better explanation on SES

* refactor: disabled hermes on android

* refactor: updated react-native patch, removed unused changes

* refactor: updated intl patch to remove unused implementation

* chore: added comment on react-native patch

* chore: removed exit 1 from preinstall on root

* chore: updated intl patch to add a comment

* chore: removed testMatch from package.json

* chore: updated allow-scripts

* chore: updated comment explaining the race condition

* chore: added react patch on Error

* chore: updated preinstall-always-fail and added nodeify to setup script

---------

Co-authored-by: Alex Ruzenhack <alex.ruzenhack@gmail.com>
  • Loading branch information
andreabadesso and alexruzenhack authored Nov 7, 2024
1 parent 2a65bf2 commit a0b6a8a
Show file tree
Hide file tree
Showing 6 changed files with 1,048 additions and 452 deletions.
Loading

0 comments on commit a0b6a8a

Please sign in to comment.