[Android][0.79] TurboModuleRegistry.getEnforcing('RNMapsAirModule') error – module not registered in native binary #50759
Labels
Needs: Triage 🔍
Newer Patch Available
Platform: Android
Android applications.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
@cipolleschi
This is actually kind of similar to #50697 - as it is the exact same error but on Android. See here for a bit more context: react-native-maps/react-native-maps#5424
Basically, it looks like something changed in the codegen process specifically between 0.77 and 0.79, since it works perfectly on 0.77 but not on 0.79.
I have a feeling it is related to this commit where it seems like codegen is much more strict about allowed types in the codegen native commands: 825492b#diff-6a85605fb6d3af7508855ba2db087f115058d7fe15e0ee6670f2dfce84671fff
And
react-native-maps
uses objects in the TS defs, see: https://github.com/react-native-maps/react-native-maps/blob/master/src/MapViewNativeComponent.ts#L22Is this an issue in react-native, or in the library implementation? If its the latter, do you have suggestions/pointers on how best to fix it?
cc @salah-ghanim
Steps to reproduce
npx expo start
to be able to connect to the dev serverReact Native Version
0.79.1
Affected Platforms
Runtime - Android
Areas
TurboModule - The New Native Module System
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://github.com/fobos531/react-native-maps-repro
Screenshots and Videos
The text was updated successfully, but these errors were encountered: