Description
When calling Ti.Contacts.Group.members() it errors with 'Can't find variable: memberIdentifiers'.
Ti.Contacts.requestContactsPermissions(function(e) {
if (e.success) {
Ti.API.info('auth request success');
Ti.API.info(JSON.stringify(e));
var group = Ti.Contacts.createGroup({
name: 'My best friends'
});
Ti.Contacts.save();
console.log('Made group');
var person = Ti.Contacts.createPerson({
firstName: 'Arthur',
lastName: 'Evans',
phone: {
"work": ["01234566789"]
}
});
Ti.Contacts.save();
group.add(person);
Ti.Contacts.save();
console.log('Added person');
console.log('Members are');
console.log(group.members());
} else {
Ti.API.info('auth request fail');
Ti.API.info(e);
}
});
Steps to reproduce
Copy the code above to an existing app.js
Build for Windows platform
Actual result
When group.members() is called the app will throw an error
Expected result
Calling group.members() should return the members of a group
https://github.com/appcelerator/titanium_mobile_windows/pull/994
FR Pass! App no longer throws an error when calling .members(), able to loop through the returned object and access the individual contacts returned
Environment: Microsoft Windows 10 Pro Appc Studio: 4.9.0.201705180402 APPC CLI: 6.2.2-master.15 Lumia 550 (10.0.15063) Looks like I need to get merge rights on this repo, will merge once I get them
CR & FR passed and we can close this for now.