Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I've created a contact with some ims.
{ ims: [{ type: "Skype", value: "mr_important" }] }
When I retrieve the contact from the system it looks like this:
{ ims: [{ id: "2966", pref: false, type: -1, value: "mr_important" }] }
Have a look at the type... Why...?
The phonebook shows the contact as expected with the correct type.
Problem is the same either if the contact is created in the system or with the cordova plugin.
Versions:
Android: 6.0
Cordova: 6.0.0
Platform: 5.1.1
Cordova-Plugin-Contacts: 2.0.1