very very thanks... but I have error ))))
//***** wrong *****
testFun(){
let contact: Contact = this.contacts.create();
contact.find(['*']).then((contacts)=>{
alert(JSON.stringify(contacts[0]));
})
}
// ****** correct *******
testFun(){
this.contacts.find(['*']).then((contacts)=>{
alert(JSON.stringify(contacts[0]));
})
}
very very thanks... but I have error ))))
//***** wrong *****
testFun(){
let contact: Contact = this.contacts.create();
contact.find(['*']).then((contacts)=>{
alert(JSON.stringify(contacts[0]));
})
}
// ****** correct *******
testFun(){
this.contacts.find(['*']).then((contacts)=>{
alert(JSON.stringify(contacts[0]));
})
}