Building a custom plugin to save the picture in the iOS library