expo-media-library
Provides access to user's media library.
Last updated 2 months ago by bbarthec .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install expo-media-library 
SYNC missed versions from official npm registry.

expo-media-library

Provides access to user's media library.

API documentation

Installation in managed Expo projects

For managed managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the react-native-unimodules package before continuing.

Add the package to your npm dependencies

expo install expo-media-library

Configure for iOS

Add NSPhotoLibraryUsageDescription key to your Info.plist:

<key>NSPhotoLibraryUsageDescription</key>
<string>Give $(PRODUCT_NAME) permission to save photos</string>

Run npx pod-install after installing the npm package.

Configure for Android

Add android.permission.READ_EXTERNAL_STORAGE and android.permission.WRITE_EXTERNAL_STORAGE permissions to your manifest (android/app/src/main/AndroidManifest.xml):

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Current Tags

  • 9.2.1                                ...           latest (2 months ago)

37 Versions

  • 9.2.1                                ...           2 months ago
  • 9.2.0                                ...           2 months ago
  • 9.1.0                                ...           2 months ago
  • 9.0.0                                ...           3 months ago
  • 8.5.0                                ...           3 months ago
  • 8.4.0                                ...           3 months ago
  • 8.3.0                                ...           4 months ago
  • 8.2.1                                ...           5 months ago
  • 8.2.0                                ...           5 months ago
  • 8.1.0                                ...           8 months ago
  • 8.0.0                                ...           a year ago
  • 8.0.0-rc.0                                ...           a year ago
  • 7.0.0                                ...           a year ago
  • 6.1.0-rc.2                                ...           a year ago
  • 6.1.0-rc.1                                ...           a year ago
  • 6.1.0-rc.0                                ...           a year ago
  • 6.0.0                                ...           a year ago
  • 6.0.0-rc.0                                ...           a year ago
  • 5.0.1                                ...           a year ago
  • 5.0.0                                ...           a year ago
  • 5.0.0-rc.1                                ...           a year ago
  • 5.0.0-rc.0                                ...           a year ago
  • 4.0.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-rc.3                                ...           2 years ago
  • 2.0.0-rc.2                                ...           2 years ago
  • 2.0.0-rc.1                                ...           2 years ago
  • 2.0.0-rc.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.1.0-rc.1                                ...           2 years ago
  • 1.1.0-rc.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 1.0.0-rc.1                                ...           2 years ago
  • 1.0.0-rc.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |