0.1.2 • Published 6 years ago

react-native-album-list v0.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

React Native Album List

A library for getting all the titles of photo albums and photos. This library was taken https://github.com/shimohq/react-native-albums and modified for further work.

Installation

Install the package from npm:

yarn add --save react-native-album-list or npm i --save react-native-album-list

and

react-native link

Example

import AlbumsList from 'react-native-album-list'

Get a list of albums

AlbumsList.getAlbumList({
  count: true,
  thumbnail: false,
  thumbnailDimensions: false
}).then(list => console.log(list));

getAlbumList options

AttributeValues
count'true'/'false'
thumbnail'true'/'false'
thumbnailDimensions'true'/'false'

Get a list of photos

AlbumsList.getImageList({
  title: true,
  name: false,
  size: true,
  description: true,
  location: false,
  date: true,
  orientation: true,
  type: false,
  album: true,
  dimensions: false
}).then(list => console.log(list));

imageListOptions options

AttributeValues
title'true'/'false'
name'true'/'false'
size'true'/'false'
description'true'/'false'
location'true'/'false'
date'true'/'false'
orientation'true'/'false'
type'true'/'false'
album'true'/'false'
dimensions'true'/'false'
0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago