Removing `newArchEnabled` property might cause issues with old libraries
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
When newArchEnabled property is set in gradle.properties, a warning is displayed:
********************************************************************************
WARNING: Setting `newArchEnabled=false` in your `gradle.properties` file is not
supported anymore since React Native 0.82.
You can remove the line from your `gradle.properties` file.
The application will run with the New Architecture enabled by default.
********************************************************************************
As long as your dependencies do not rely on this property to enable new arch, you are good to remove it. Libraries created with builder bob < v0.48.4, check for the property, so disabling it might cause issues with migration.
I propose to remove the line "You can remove the line from your gradle.properties file." or change it to mention old libraries.
Steps to reproduce
not relevant
React Native Version
0.82.0
Affected Platforms
Runtime - Android
Areas
Other (please specify)
Output of npx @react-native-community/cli info
not relevant
Stacktrace or Logs
not relevant
MANDATORY Reproducer
not relevant
Screenshots and Videos
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では gradle.properties が挙げられ、警告文も含まれていますが、React Native のソースファイルやテストはありません。リポジトリ内で警告の完全一致を検索し、それを出力する Android 設定の経路を調べ、リンクされた builder-bob テンプレートと比較してください。古いライブラリ向けのガイダンスを更新し、その後、関連する Android 設定テストまたは警告テストを実行してください。完了とは、メッセージが無条件の安全性を示唆しなくなっていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native
- 領域
- build-system, mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100