Skip to content

React Native Media Max Library (Turbo Module for Android)

License

Notifications You must be signed in to change notification settings

MehrabSp/react-native-mml

Repository files navigation

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 --

About

React Native Media Max Library (Turbo Module for Android)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published