IONIC 2 RC.2: How find contact, no result?


#1

Hello!!!

import { Contact, ContactFindOptions } from ‘ionic-native’;

let contact:any = new Contact();
let options:any = new ContactFindOptions();
options.filter = "";
options.multiple = true;
var fields = ["displayName", "addresses"];
contact.find(fields, options).then((contactq) => {
  this.data_all = contactq;
}, (err) => {
  alert(err);
})

no result & no work! please help me


#2

The cordova plugin for contact access is installed?


#3

Contacts plugin crashes on galaxy s6 though. Works fine on emulator for me.


#4

yes, installed…
result - no work…

add plugin in config.xml?