Unable to parse @ReactMethod annotations from native module #45193
Labels
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Resolution: Answered
When the issue is resolved with a simple answer
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
Hello New Arch friends!!
After upgrading to React Native 74/bridgeless from 73 (already was using the new arch), I'm receiving the following issue:
The error makes sense, there are two instances of
setUserId
in the RNIterableAPI package - they're method overloads. I guess it also makes sense javascript doesn't support overloading.What I don't understand is why this error started popping up now. I ran across this thread where two other people were experiencing the same issue with different packages than me - otherwise I'd continue to assume that I have some sort of configuration or caching issue. That could, of course, still be the case.
Update: It's probably the case. My reproducer demo shows that react native 0.74.2 is in fact working with Iterable. I'm filing this anyway in case anyone else finds their way here in search of help. To everyone supporting react-native, though, feel free to close this. I don't know where to go from here, but I'll report back if I resolve the issue.
Steps to reproduce
"@iterable/react-native-sdk": "1.3.19"
React Native Version
0.74.2
Affected Platforms
Runtime - Android
Areas
Bridgeless - The New Initialization Flow
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/connorpmullins/breakIterable
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: