Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11010

Unexpected EOF while finding contacts in iPhone 6s

    XMLWordPrintableJSON

Details

    • Patch, Important

    Description

      I tried accessing the contacts using contacts plugin v2.0.1 with the following code

      var options = new ContactFindOptions();
      options.filter = "";
      options.multiple = true;
      var fields = ["displayName","phoneNumbers"];

      navigator.contacts.find(fields, gotContacts, errorHandler, options);

      This throws me an SyntaxError: Unexpected EOF in iPhone 6s models.

      I tested the same in iPhone 5s and iPhone 6, this works fine. Also it works fine in iPhone 6s Simulator.

      I tested in three iPhone 6s phones where the iOS is 9.3 for two phones and 9.2.1 for one.
      All three phones have contacts more than 400.

      All three returned me the same error.

      Attachments

        Activity

          People

            vladimir.kotikov Vladimir Kotikov
            Gowtham Gowtham
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: