Closed MrRefactor closed 13 hours ago
Current implementation of codegen config contains legacy libraries syntax, I have update it to new version removing the codegen warning:
codegen
libraries
[Codegen] Found @react-native-community/geolocation [Codegen] CodegenConfig Deprecated Setup for @react-native-community/geolocation. The configuration file still contains the codegen in the libraries array. If possible, replace it with a single object. BEFORE: { // ... "codegenConfig": { "libraries": [ { "name": "libName1", "type": "all|components|modules", "jsSrcsRoot": "libName1/js" }, { "name": "libName2", "type": "all|components|modules", "jsSrcsRoot": "libName2/src" } ] } } AFTER: { "codegenConfig": { "name": "libraries", "type": "all", "jsSrcsRoot": "." } }
Run example app using newArch and validate if builds are passing.
Outcome: Both iOS and Android builds are passing while using newArch.
Overview
Current implementation of
codegen
config contains legacylibraries
syntax, I have update it to new version removing thecodegen
warning:Test Plan
Run example app using newArch and validate if builds are passing.
Outcome: Both iOS and Android builds are passing while using newArch.