Cameron Bothner

Results 4 comments of Cameron Bothner
trafficstars

I wrote this package to make it easier to use ActiveStorage in React components, in case anyone finds it helpful. https://github.com/cbothner/react-activestorage-provider

Right now, I’m sorry to say, it certainly will not. The activestorage JavaScript package uses DOM Form APIs to perform the direct upload, so it won’t work with React Native....

The npm package `activestorage` and anything that depends on it won’t work on React Native because `FileReader.readAsArrayBuffer` is not implemented. But that does not mean you can’t use ActiveStorage on...

@drale2k the Direct Upload section of my answer above should work for you using a URLRequest or some other abstraction in place of javascript’s fetch. You can still use the...