This blog is to share my experience in implementing a very common requirement - attach a photo by integrating with device camera or photo library and then passing the photo as Base64-encoded string.
STEP 1: Enable camera plugin in your maf-application.xml