Skip to content

Releases: MirrorFly/MirrorFly-ReactNative-Sample

React Native version upgrade with support for 16KB alignment

24 Jul 07:24
7bcafdf

Choose a tag to compare

🚀 What’s New

  • Upgraded React Native to 0.79.5 to support 16KB page alignment.
  • Applied required native code changes for Android/iOS compatibility.

Support for 16KB Alignment – Migration Guide

Step 1: Upgrade React Native to Version 0.76.0 or Above

  • To ensure compatibility with 16KB alignment, your project must be running React Native v0.76.0 or later.
  • You can use the official React Native Upgrade Helper to assist with the version upgrade:
    Upgrade Helper:

Step 2: Disable the New Architecture
By default, the new architecture (also known as TurboModules and Fabric) is Enabled in React Native 0.76.0 and above.
Android:
-> android/gradle.properties.
Set the following properties:
newArchEnabled=false
iOS
-> ios/Podfile.
ENV['RCT_NEW_ARCH_ENABLED'] = '0'

Step 3: Update the patches and media dependencies files
Download the patches files:
🔗 https://app.mirrorfly.com/patches.zip
Download the media dependencies files:
🔗 https://app.mirrorfly.com/rn_media_service_dependency.zip

Step 4: Apply Code Changes for 16KB Alignment and update the package dependencies
Make the required code changes by referring to the following commit:
🔗 View Commit – MirrorFly React Native Sample
This commit contains file updates necessary for proper alignment and compatibility.

What's Changed

New Contributors

Full Changelog: https://github.com/MirrorFly/MirrorFly-ReactNative-Sample/commits/v2.3.1-RNUpgrade-16kb-alignment