Releases: MirrorFly/MirrorFly-ReactNative-Sample
React Native version upgrade with support for 16KB alignment
🚀 What’s New
- Upgraded React Native to
0.79.5to 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:
- This tool helps you identify the changes needed in your files when upgrading from current version to 0.76.0 and above.
- Be sure to follow the instructions carefully and test thoroughly after the upgrade.
https://react-native-community.github.io/upgrade-helper/?from=0.75.5&to=0.76.0.
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
- android and iOS file changes to mirrorfly_rn files by @karthikeyancontus in #1
- release 1.2.0 video call by @kadhar03 in #5
- react native version upgraded 0.69 to 0.72 by @karthikeyancontus in #6
- #release/V1.4.3 Audio routing release by @kadhar03 in #7
- release/V1.4.4 audio routing release by @kadhar03 in #8
- #release/V1.4.5 call Switch by @kadhar03 in #9
- release/V1.4.6 muteChat Notification by @kadhar03 in #10
- Feature/readme file update by @manivendhan-contus in #11
- Release version 1.4.7 group notification implemented by @kadhar03 in #13
- Release/v2.0.1 by @kadhar03 in #14
- story - MRN-793, MRN-802 by @karthikeyancontus in #15
- Feature/update 2.0.0 by @karthikeyancontus in #16
- crashlytics package removed by @karthikeyancontus in #17
- MRN-429, MRN-778 by @karthikeyancontus in #18
- UPDATE for Android crash by @karthikeyancontus in #20
- Readme update for User instructions by @karthikeyancontus in #21
- Feature/update 2.2.0 by @karthikeyancontus in #22
- update 2.3.0 by @karthikeyancontus in #23
- release sdk version 2.3.4 by @kadhar03 in #24
- Release sdk/v2.3.4 by @kadhar03 in #25
- react native version upgrade with 16KB compatibility by @kadhar03 in #26
New Contributors
- @karthikeyancontus made their first contribution in #1
- @kadhar03 made their first contribution in #5
- @manivendhan-contus made their first contribution in #11
Full Changelog: https://github.com/MirrorFly/MirrorFly-ReactNative-Sample/commits/v2.3.1-RNUpgrade-16kb-alignment