Comment

Comment by ItsMe000001

Will React Native finally support exchanging BINARY data (ArrayBuffer, TypedArray) across the bridge?

Thus far I have to send binary data as base64 encoded strings! See react-native-fetch-blob for an example, when I read a file.

Current state:

Example, issue: https://github.com/facebook/react-native/issues/1424 (closed but not solved, quote: "We are trying to keep issues focused on bugs and this is more of a feature request")

Documentation for native modules, which kinds of data can be sent back to Javascript: https://facebook.github.io/react-native/docs/native-modules-... (here the iOS docs, but it's the exact same for Android/Java)

parent ItsMe000001 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton