Removing `newArchEnabled` property might cause issues with old libraries
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 127k
- Forks
- 25.3k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue nennt gradle.properties und enthält den Warntext, aber keine React Native-Quelldatei oder keinen Test. Durchsuche das Repository nach der exakten Warnung, untersuche den Android-Konfigurationspfad, der sie ausgibt, und vergleiche die verlinkte builder-bob-Vorlage. Aktualisiere die Anleitung für ältere Bibliotheken und führe anschließend den relevanten Android-Konfigurations- oder Warntest aus; abgeschlossen bedeutet, dass die Meldung nicht länger bedingungslose Sicherheit impliziert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, react-native
- Bereich
- build-system, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100