react-native-mml
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

react-native-mml

React Native Media Library

New turbo module (only for Android)

New Update

A new update has been released What has been added?

  • Get all videos from memory
  • Get all photos from memory
  • Typing is correct for typescript

What does this module do?

  • Reads and receives all the songs from the memory
  • Metadata receives all songs
  • Saves the cover of each song in the special location of the program (Scoped Storage).
  • Ability to recognize colors from song covers for Android. (This is still beta) To use the library, you can see the GitHub sample folder

Installation

npm install react-native-mml
yarn add react-native-mml

Usage

  //get
  //type: 'Musics'
  //type: 'Images'
  //type: 'Videos'
  const Musics = async () => {
    console.log(
      await getAll({ options: { check: true, title: true }, type: 'Musics' }),
      'Musics!'
    );
  };
  const Images = async () => {
    console.log(
      await getAll({ options: { check: true, title: true }, type: 'Images' }),
      'Images!'
    );
  };
  const Videos = async () => {
    console.log(
      await getAll({ options: { check: true, title: true }, type: 'Videos' }),
      'Videos!'
    );
  };

Contributing

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

Acknowledgements

Thanks to the authors of these libraries for inspiration:

License

MIT


-- MRB --

Package Sidebar

Install

npm i react-native-mml

Weekly Downloads

1

Version

0.3.4

License

MIT

Unpacked Size

69.7 kB

Total Files

32

Last publish

Collaborators

  • mehrabsp