I use screenshot cordova (https://github.com/gitawego/cordova-screenshot) to capture screen and share to fb, imess…
// do something}
Follow this code, the image will be save on :
'file://' + res.filePath
So, how i change location to store this image?
The location of the file is done in the plugin source code. You have to make changes to the source if you want to change the folder.
In android is in the Screenshot.java line 98.
Hope I help.
Thank you so much.
I get it!
Now i face to a problem: When my app capture screen, it can not share to WhatApp in IOS. I find out, the reason is saving pics in file://… and what app cannot read file from this.