79325599

Date: 2025-01-03 05:57:52
Score: 1.5
Natty:
Report link

Fixed the Issue with Boost Library

Step 1: Update URL in ReactAndroid Build Script

Navigate to the file: /node_modules/react-native/ReactAndroid/build.gradle Locate the following line: https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("", ".")}/source/boost${BOOST_VERSION}.tar.gz Replace it with: https://archives.boost.io/release/${BOOST_VERSION.replace("", ".")}/source/boost${BOOST_VERSION}.tar.gz Step 2: Update URL in Expo Modules Core

Go to the file: /node_modules/expo-modules-core/android/build.gradle. Search for the same URL as in Step 1. Replace it with the new URL provided in Step 1. Step 3: Apply the Patches

After making the changes, run the following commands to apply the patches:

patch-package react-native patch-package expo-modules-core We need to install patch-package first. npm i -D patch-package And add "postinstall": "patch-package" to package.json

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gowtham