Closed bentobox19 closed 1 year ago
following up latest RN PoCs
we only have warnings instead of previous errors 🎉
tolerable as we have fully functioning Android/iOS RN apps ignorable via RN's internal LogBox like we're doing
so we can close this as no longer blocking now under more complete analysis in above issue
in order to fix SES-detected non-standard Promiseness on either
to arrive at 0 warnings
PoC
https://github.com/LavaMoat/docs/blob/main/react-native-and-ses-lockdown.md
Discussion
Even after forfeiting certain plugins, creating a custom preset the following error appears:
Tracking on which procedure is replacing the built-in promise takes us to the following chain of facts:
which calls the
Promise
polyfill atnode_modules/promise/src/es6-extensions.js
.PoC Solution
node_modules/react-native/Libraries/Core/InitializeCore.js
ommenting the lineItems of Action
Similar to https://github.com/LavaMoat/docs/issues/4
Promise
babel.config.js
just after the preset.