[TIMOB-9703] iOS: createContact with kind creates empty contact on the device
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-07T22:38:42.000+0000 |
| Affected Version/s | Release 2.0.2, Release 2.0.1 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | api, community |
| Reporter | Tobias Reike |
| Assignee | Eric Merriman |
| Created | 2012-06-19T02:05:32.000+0000 |
| Updated | 2017-06-07T22:38:42.000+0000 |
Description
This is working:
Ti.Contacts.createPerson({
firstName : 'First',
lastName : 'Last',
address : {
'work' : [workAddress1]
},
phone : {
work : [workPhone],
},
});
This is not:
Ti.Contacts.createPerson({
kind: Ti.Contacts.CONTACTS_KIND_ORGANIZATION,
organization: "Company",
address : {
'work' : [workAddress1]
},
phone : {
work : [location.phone],
},
});
It creates an empty contact in the iOS addressbook.
Closing ticket due to the time passed and lack of progress.