Feature request #15098
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Type: Enhancement
A new feature or enhancement of an existing feature.
At first see #15046 (comment)
Here we have a
base64 encoding
in native environment andbase64 decoding
in js environment( and vise versa for sending binary)This redundant encode/decode take a lot of CPU resources and can be omitted
In https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/bridge/WritableMap.java#L21 we only have
putString
so we cannot transfer binary from native to js or vise versa , I requestvoid putByte(String key, Byte value);
method for android and similar method for iOS and JS sideThe text was updated successfully, but these errors were encountered: