🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-native-album-list

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-album-list

Библиотека для получения наименований альбомом и кол-во фотографий

0.1.2
latest
Source
npm
Version published
Weekly downloads
9
-10%
Maintainers
1
Weekly downloads
 
Created
Source

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'

Keywords

react-component

FAQs

Package last updated on 20 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts