react-native-mediastore
v0.1.2
Published
React Native Media Store
Downloads
9
Readme
react-native-mediastore
React Native Media Store
Installation
npm install react-native-mediastore
Usage
import Mediastore from "react-native-mediastore";
// ...
const result = await Mediastore.readAudioVideoExternalMedias();
type MediastoreFileType = {
id: number,
name: string,
duration: number,
size: number,
mime: string,
title: string,
album: string,
artist: string,
genreId: string,
genreName: string,
contentUri: string
}
type MediastoreType = {
readAudioVideoExternalMedias(): Promise<Array<MediastoreFileType>>;
};
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT