react-native
react-native copied to clipboard
Support emitting typed RCTDeviceEmitter events
Summary: This enables to code-gen base C++ type for custom exported JS types from a RN TM spec - which have been previously excluded from code-gen.
The only work around so far was to ‘register’ a any function using the custom type which should be use for RCTDeviceEventEmitter events
Changelog: [Internal]
Differential Revision: D56685903
| Platform | Engine | Arch | Size (bytes) | Diff |
|---|---|---|---|---|
| android | hermes | arm64-v8a | 19,461,350 | +16,423 |
| android | hermes | armeabi-v7a | n/a | -- |
| android | hermes | x86 | n/a | -- |
| android | hermes | x86_64 | n/a | -- |
| android | jsc | arm64-v8a | 22,834,222 | +16,356 |
| android | jsc | armeabi-v7a | n/a | -- |
| android | jsc | x86 | n/a | -- |
| android | jsc | x86_64 | n/a | -- |
Base commit: b7de91666453b832b889d9577226097aeeace1a8 Branch: main
Merged as https://github.com/facebook/react-native/commit/c96c8933745b72148856e62f13553d7a2f5d4f6b