Skip to content

Convert union type to string to fix codegen error - #6550

Open
naftalibeder wants to merge 1 commit into
getsentry:mainfrom
naftalibeder:fix/codegen-union-type
Open

Convert union type to string to fix codegen error#6550
naftalibeder wants to merge 1 commit into
getsentry:mainfrom
naftalibeder:fix/codegen-union-type

Conversation

@naftalibeder

@naftalibeder naftalibeder commented Jul 31, 2026

Copy link
Copy Markdown

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Running assemble on Android errors with the message:

Unsupported type for param "type". Found: StringLiteralUnionTypeAnnotation

💡 Motivation and Context

Union types are no longer supported in React Native Codegen. I'm not able to find documentation confirming this, but it appears to be an issue others have encountered.

Related:
react/react-native#49566
#4870
react-native-webview/react-native-webview#3767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant