Skip to content

Releases: jpalumickas/react-native-activestorage

v2.0.0

12 Jun 14:57

Choose a tag to compare

Breaking changes

  • Replace rn-fetch-blob with react-native-blob-util

v1.0.0

07 Jun 15:04

Choose a tag to compare

v1 Release

  • TypeScript support
  • React Hooks
  • Rewrite all package

Upgrade notes

1. Add Active Storage provider

import { ActiveStorageProvider } from 'react-native-activestorage'

const App = () => (
  <ActiveStorageProvider host="https://localhost:4000">
    <Navigation />
  </ActiveStorageProvider>
)

You can provide mountPath if needed

2. Change DirectUpload import

from

import DirectUpload from 'react-native-activestorage'

to

import { DirectUpload } from 'react-native-activestorage'

3. Changed directUpload function callback

from

directUpload({ file, directUploadsUrl }, onStatusChange);

to

directUpload({ file, directUploadsUrl, onStatusChange })

v0.3.0

03 Jun 09:17

Choose a tag to compare

  • Allow to specify headers when creating blob record

v0.2.0

12 Dec 13:19

Choose a tag to compare

  • Allow specifying metadata
  • Show total and count in progress

v0.1.0

12 Dec 13:18

Choose a tag to compare

Add Readme