Crashing on iPhone with Outlook Contacts
My app is crashing when I select an Outlook contact (e.g., synched from an Outlook account) using the Kitchen Sink code or other code. The code works fine for "All from my Mac" contacts.
// Way 1
Titanium.Contacts.showContacts({
selectedPerson: function(e) {
var person = e.person;
var emails = person.email;
Ti.API.log(emails); // Display the multivalue format, or...
for (var label in emails) {
var emailList = emails[label];
Ti.API.log(label + ": "+emailList);
}
}
});
// Way 2
Titanium.Contacts.showContacts({
selectedProperty: function(e) {
if (e.property == 'email') {
Ti.API.log(e.label + ": " + e.value);
}
}
});
https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1001
Any help appreciated.
Matt
1 Answer
-
I don't have a solution, but I am experiencing the same issues, as are others.