Saving image to the user's contacts with Cordova Contacts plugin

I seem to be having trouble saving an image to the user’s contacts with the Cordova Contacts plugin on Android. Here is my code:

var contact = navigator.contacts.create();

// is a valid base64-encoded string.[0] = {
  "type": "base64",
}; {
  alert(“Contact saved.”);

This works perfectly on iOS but I can’t save an image on Android no matter what I try. The value is a valid base64-encoded string that WILL show up as an image when pasted into a URL bar. Any advice?

Hi, same problem that i am facing. Did you find the solution?