[ https://issues.apache.org/jira/browse/CB-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-7885. ---------------------------- Resolution: Won't Do The plugin is deprecated, this won't be done > [Contacts] pickContact - return image (photo) as base64 string > -------------------------------------------------------------- > > Key: CB-7885 > URL: https://issues.apache.org/jira/browse/CB-7885 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-plugin-contacts (DEPRECATED) > Affects Versions: 3.5.0 > Reporter: Aleksey Dobrushin > Priority: Major > > It would be very useful, if pickContact function returns for photo (person > image) not a path to temporarily created on device file, but base64 string, > which could be immediately inserted in DOM image.src. > By default - leave as it is, but if getImageData parameter true - do not > create temp file at all, give back base64 string. > I did PoC, it works perfectly, for iOS in CDVContact.extractPhotos additional > line: > {code} > [newDict setObject:[data base64EncodedString] forKey:@"data"]; > {code} > makes the magic. But correctly would be implement either or: either save in > file and return file name, or do not save to file and return image data -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org