How to save the photo in local folder

I am working on ionic app with Capacitor plugin, the other related data is locally stored in json file, now i want to save the captured photo in a folder for later use. How it will done?

Have you looked at capacitor’s Filesystem?

I haven’t used it myself, but it sounds like it can save files.

https://capacitor.ionicframework.com/docs/apis/filesystem