react-native-mml
v0.3.4
Published
React Native Media Max Library
Downloads
2
Readme
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 --