New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
research for enabling new architecture in react-native #18138
Comments
When we enable new architecture for iOS the first thing that breaks is the
seems like https://github.com/zoontek/react-native-permissions/releases/tag/4.0.0 release has a fix for this. |
When we enable new architecture for Android the first thing that breaks is the
seems like https://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.12.0 has support for new architecture. |
update : The next thing to break is
and
|
This PR does many things : - Upgrade `react-native ` to `0.72.5` - Upgrade `react-native-reanimated` to `3.5.4` - Upgrade `react-native-navigation` to `7.37.0` - `ndkVersion` has been bumped to `25.2.9519653` - `cmakeVersion` has been bumped to `3.22.1` - `kotlinVersion` has been bumped to `1.7.22` - `AGP` has been bumped to `7.4.2` - `Gradle` has been upgraded to `8.0.1` - Android `CompileSDK` and `TargetSDK` have been bumped to 33 - `@react-native-async-storage/async-storage` has been upgraded to `1.19.3` - `@walletconnect/client` has been nuked - some of the old `react-native-reanimated` code has been nuked - `react-native-keychain` fork has been replaced with `8.1.2` - On Android we are currently relying on `Hermes` Engine. - On iOS we are currently relying on JSC - We are not enabling new architecture for now (I have plans for that in the future) ref: #18138 IOS only PR : #16721 Android only PR : #17062 - `make run-metro` now has a target of `android` which was `clojure` earlier, this will increase the time it takes to start metro terminal but this is needed otherwise you will get a nasty error while developing for android locally.
This commit does many things : - Upgrade `react-native ` to `0.72.5` - Upgrade `react-native-reanimated` to `3.5.4` - Upgrade `react-native-navigation` to `7.37.0` - `ndkVersion` has been bumped to `25.2.9519653` - `cmakeVersion` has been bumped to `3.22.1` - `kotlinVersion` has been bumped to `1.7.22` - `AGP` has been bumped to `7.4.2` - `Gradle` has been upgraded to `8.0.1` - Android `CompileSDK` and `TargetSDK` have been bumped to 33 - `@react-native-async-storage/async-storage` has been upgraded to `1.19.3` - `@walletconnect/client` has been nuked - some of the old `react-native-reanimated` code has been nuked - `react-native-keychain` fork has been replaced with `8.1.2` - On Android we are currently relying on `Hermes` Engine. - On iOS we are currently relying on JSC - We are not enabling new architecture for now (I have plans for that in the future) ref: #18138 IOS only PR : #16721 Android only PR : #17062 - `make run-metro` now has a target of `android` which was `clojure` earlier, this will increase the time it takes to start metro terminal but this is needed otherwise you will get a nasty error while developing for android locally.
This commit does many things : - Upgrade `react-native ` to `0.72.5` - Upgrade `react-native-reanimated` to `3.5.4` - Upgrade `react-native-navigation` to `7.37.0` - `ndkVersion` has been bumped to `25.2.9519653` - `cmakeVersion` has been bumped to `3.22.1` - `kotlinVersion` has been bumped to `1.7.22` - `AGP` has been bumped to `7.4.2` - `Gradle` has been upgraded to `8.0.1` - Android `CompileSDK` and `TargetSDK` have been bumped to 33 - `@react-native-async-storage/async-storage` has been upgraded to `1.19.3` - `@walletconnect/client` has been nuked - some of the old `react-native-reanimated` code has been nuked - `react-native-keychain` fork has been replaced with `8.1.2` - On Android we are currently relying on `Hermes` Engine. - On iOS we are currently relying on `JSC` - We are not enabling new architecture for now (I have plans for that in the future) ref: #18138 IOS only PR : #16721 Android only PR : #17062 - `make run-metro` now has a target of `android` which was `clojure` earlier, this will increase the time it takes to start metro terminal but this is needed otherwise you will get a nasty error while developing for android locally.
If I just remove the fork of
|
Now that react-native upgrade is merged -> #18563 Resuming work on this and I think its better at this point to first fix how we apply patches to status-mobile. Due to the limitations of patch phase we mostly relied on making forks of libraries and these forks are often outdated. We should also begin research into effort it would take to migrate native modules to JSI. |
@BalogunofAfrica suggested we use this This forms a good checklist for us
|
This commit swaps the fork of @react-native-camera-roll/camera-roll with a patch and upgrades this library to the latest version. needed for : #18138 Verify if camera album related features still work. - iOS status: ready
This commit swaps the fork of @react-native-camera-roll/camera-roll with a patch and upgrades this library to the latest version. needed for : #18138 Verify if camera album related features still work. - iOS status: ready
This commit swaps the fork of @react-native-camera-roll/camera-roll with a patch and upgrades this library to the latest version. needed for : #18138 Verify if camera album related features still work. - iOS status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of react-native-mail with a patch. needed for : #18138 ## Review & Test notes Verify if mailing logs still works. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of @react-native-community/blur with a patch and upgrades the library to latest version of 4.4.0 needed for : #18138 ## Review & Test notes Verify if blur stuff still works. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of react-native-mail with a patch. needed for : #18138 ## Review & Test notes Verify if mailing logs still works. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of react-native-mail with a patch. needed for : #18138 ## Review & Test notes Verify if mailing logs still works. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of @react-native-community/blur with a patch and upgrades the library to latest version of 4.4.0 needed for : #18138 ## Review & Test notes Verify if blur stuff still works. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of @react-native-community/blur with a patch and upgrades the library to latest version of 4.4.0 needed for : #18138 ## Review & Test notes Verify if blur stuff still works. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of @react-native-community/blur with a patch and upgrades the library to latest version of 4.4.0 needed for : #18138 ## Review & Test notes Verify if blur stuff still works. ## Platforms - iOS - Android status: ready
## Summary This commit swaps the fork of @react-native-community/blur with a patch and upgrades the library to latest version of 4.4.0 needed for : #18138 ## Review & Test notes Verify if blur stuff still works. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
## Summary This commit upgrades `react-native-permissions` library to latest version 4.1.5 needed for : #18138 ## Review & Test notes Please test permissions related flows on onboarding, selecting images, notifications and any other areas you can think of. ## Platforms - iOS - Android status: ready
This PR enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This PR enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This PR enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138 Please check builds from this PR to see if you notice any performance improvements or degradation. Please smoke test the iOS builds to see if there are any crashes. - iOS status: ready
This commit enables `Fabric` and `Hermes` for `iOS` and in my initial tests the app seemed to behave well. We can't do this for Android yet because the blur view implementation is not ported to `Fabric` properly. needed for #18138
we're not done yet |
Feature Issue
This issue will contain research for enabling new architecture in react-native.
react-native-camera-roll
lib to7.2.x
& move code in fork to a patch. -> swap @react-native-camera-roll/camera-roll fork with patches & upgrade to 7.5.2 #19664react-native-permissions
lib to4.x
-> upgrade react-native-permissions library #19695react-native-gesture-handler
lib to2.12.x
RCT_NEW_ARCH_ENABLED=1
flag along with pod install to enable new architecture. We run pod install during our build process here :nix/mobile/ios/shells/cocoapods.nix
-> [iOS Only] Enable new architecture for react-native #19748newArchEnabled
flag to true atandroid/gradle.properties
Libraries that support new architecture and WIP : reactwg/react-native-new-architecture#6 (comment)
The text was updated successfully, but these errors were encountered: