react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Support emitting typed RCTDeviceEmitter events

Open christophpurrer opened this issue 1 year ago • 1 comments

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

christophpurrer avatar Apr 29 '24 04:04 christophpurrer

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

analysis-bot avatar Apr 29 '24 05:04 analysis-bot

Merged as https://github.com/facebook/react-native/commit/c96c8933745b72148856e62f13553d7a2f5d4f6b

javache avatar Jun 27 '24 20:06 javache