0.0.13 • Published 8 months ago

rn-media-library v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

rn-media-library

⚠️ This library is under development ⚠️

A React Native module that allows you to fetch and manage audios, images, vidoes.

Installation

npm install rn-media-library

Documentation

Check out my dedicated documentation page for all the information about this library, API's and more:

Documentation

Usage

import { getAssets } from 'rn-media-library';
 
// ...
 
// call the function inside the useEffect on mount and set the state
getAssets({ mediaType: 'audio' })
  .then((res) => {
    //parse and set the value in the state
    setAssets(JSON.parse(res));
  })
  .catch((error) => {
    console.log(error);
  });

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

8 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago