You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/27 08:14:36 UTC

[GitHub] VikasKad opened a new issue #208: modify the contact picture

VikasKad opened a new issue #208: modify the contact picture 
URL: https://github.com/apache/cordova-plugin-contacts/issues/208
 
 
   # Feature Request
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   As we are creating the phone contact manger module, we want to set users profile picture.
   
   
   ## Feature Description
   <!-- 
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would look like
   Are there any drawbacks? Will this break anything for existing users? 
   -->
   As currently we are able to store all users details but we are not able to store the contact photo, my code is as follows:
   
   `            contact.photos= [new ContactField('photo', this.tempProfilepic)];
   `
   where tempProfilePic is filePath URL, also I tried with base64 as well but nothing worked,
   Might be the solution already available but I am not able to find it out properly.
   
   Thanks in advance.
   
   ## Alternatives or Workarounds
   <!-- 
   Describe alternatives or workarounds you are currently using 
   Are there ways to do this with existing functionality?
   -->
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org