react-native-image-picker: Image doesn't appear in gallery after saving [Android]

When setting storageOptions: {} (such as in the example app), the docs say “the image will get saved in … the Pictures directory on Android”. I think it used to do this, but no longer.

Repro steps:

  1. Run the example app on Android
  2. Take a picture
  3. Check your gallery app, it’s not there
  4. Check your Pictures folder, it’s not there either

Tested on a Nexus 5X 6.0 emulator (using latest master 62cf9edbde45240a75b45c789042c9db488c6b76) and a Nexus 6P 6.0 physical device (using v0.25.7). I haven’t tested on iOS because the simulator isn’t able to take pictures.


Clarification: It sounds like currently the image is being saved under your app’s .../your_package_name/files/Pictures/, whereas I assumed it would be saved under the shared /sdcard/Pictures/. Read below for more details about upcoming changes.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (14 by maintainers)

Commits related to this issue

Most upvoted comments

settings storageOptions.path still saves my pic in Pictures/ on my LG G3 (Android 7.1) instead of the given sub path. any idea?

Great! I’ll use a workaround for now and wait for your changes.

@cooperka No problems. You can do PR for update documentation if you want. Later it’ll be updated.