MehrabSp / react-native-mml

React Native Media Max Library (Turbo Module for Android)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:MIT License


Languages

Language:Java 76.4%Language:Ruby 6.6%Language:TypeScript 6.4%Language:Objective-C 4.2%Language:JavaScript 3.6%Language:Objective-C++ 2.4%Language:C 0.2%Language:Swift 0.1%