question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image doesn't appear in gallery after saving [Android]

See original GitHub issue

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.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
antoinerousseaucommented, Sep 1, 2017

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

1reaction
cooperkacommented, Mar 14, 2017

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android - Why my saved image is not appearing in the default ...
So, the image is being saved somewhere in the internal storage of the phone, but it is not getting displayed in the phone...
Read more >
Pictures in the My Files app are missing from the Gallery app
Pictures in the My Files app are missing from the Gallery app · Turn off image grouping. · Make sure the album is...
Read more >
Saved/downloaded pictures don't appear in gallery?
Now you can download pictures and have it show. Go to the App settings for Chrome under phone settings, tick box to give...
Read more >
Why Can't I See My Pictures in My Gallery, How to Fix?
Part 2. What to Do If Android Gallery Doesn't Show Pictures? · Method 1. Check if the Album is Hidden · Method 2....
Read more >
Pictures and videos not showing in the gallery
Solution 1 · Go to File manager -> Android -> Data -> com.android. · Delete the folder ( com.android. · Go to Settings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found