Q:

ERROR TypeError: Cannot read property 'split' of undefined cordova-plugin-contact

i have a problem when run code on my app.  I'm using cordova-plugin-contacts, but does not work
 getContato(){
      this.contacts.pickContact()
      .then((data)=>{
        console.log(data)
      })
    }

Error:
ConvidadoPage.html:25 ERROR TypeError: Cannot read property 'split' of undefined
at get (vendor.js:70203)
at getPlugin (vendor.js:70235)
at checkAvailability (vendor.js:103018)
at vendor.js:208058
at Contacts.pickContact (vendor.js:208063)
at ConvidadoPage.webpackJsonp.389.ConvidadoPage.getContato (main.js:1182)
at Object.eval [as handleEvent] (ConvidadoPage.html:25)
at handleEvent (vendor.js:13963)
at callWithDebugContext (vendor.js:15472)
at Object.debugHandleEvent [as handleEvent] (vendor.js:15059)

A:

I finding problem solution.  I uninstallong lastest plugin and install version   3.0.0

