Save Screenshot and Show it in Gallery (iOS & Android)

Hi,
I have been bashing my head against the wall and I have managed to save the screenshot and when i check if the screenshot exists or not it does.
But for some unknown reasons I can’t find any way to get those images to show in the Gallery.

So far i have done the following:
1- Made builds on both iOS and Android and Searched the file name manually. (Couldn’t find it using ESFile Explorer)
2- Tried to save with .jpg didn’t work.

I know there is a paid kit to do that in the asset store but i just can’t understand why wouldn’t it show up in the gallery?
Thanks in advance for any help… :slight_smile:

Here is my Code:

Application.CaptureScreenshot("CCMSS.png"); if (System.IO.File.Exists(Application.persistentDataPath+"/"+"CCMSS.png")){ Debug.Log("File Saved to Gallery"); }

hi, you will find the file under android//file, for example android/com.me.myapp/file/screenshot.png

Hello Guys,

You should use this wonderful plugin with full support.

We made a plugin which is compatible on iOS and Android , easy to use unified API and battle tested!

Cross Platform Native Plugins

Usage and Functionalities in Media Library