builder icon indicating copy to clipboard operation
builder copied to clipboard

Fix: React Native SDK

Open samijaber opened this issue 1 year ago • 4 comments

Description

Handle multiple compatibility issues with Expo 50+

  • async storage: handle SSR/static rendering
  • async storage: add regenerator-runtime polyfill
  • include source in build as per https://callstack.github.io/react-native-builder-bob/build#source
  • update e2e and snippets to use Expo 50+

TODO:

  • [x] fix react-native-render-html defaultProps usage
  • [x] fix development builds
  • [ ] test development builds
  • [ ] add detox e2e test

samijaber avatar Jun 18 '24 19:06 samijaber

🦋 Changeset detected

Latest commit: 2ee5fea0c6e6c515e6e58f26e362d1bc8833f8bf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@builder.io/sdk-react-native Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jun 18 '24 19:06 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-app-router-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 7:42pm
nextjs-pages-router-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 7:42pm
remix-gen2-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 7:42pm
svelte-vite-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 7:42pm

vercel[bot] avatar Jun 18 '24 19:06 vercel[bot]

⚠️ GitGuardian has uncovered 3 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
9071768 Triggered Generic High Entropy Secret f49e5f449bbafb7a40f5fa3d880e7560b3638999 packages/sdks-tests/src/specs/symbol-tracking.ts View secret
11707119 Triggered Generic High Entropy Secret 80b2e717df538d72a16c4e3aafbfc0e4f21ea38b packages/sdks/snippets/react-native/app/[...slug].tsx View secret
11707119 Triggered Generic High Entropy Secret a055b688632f84759a3588b2a4794e0e4e032b3c packages/sdks/snippets/react-native/App.tsx View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

gitguardian[bot] avatar Jun 18 '24 19:06 gitguardian[bot]