[
https://issues.apache.org/jira/browse/CB-11010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15604521#comment-15604521
]
Vladimir Kotikov commented on CB-11010:
---------------------------------------
Hey, guys. We were trying to reproduce the exception, but it seems to be caused
by some specially formatted contacts, so it doesn't happen for us. Any ideas,
how we can get a stable repro? Also it would be great if someone could provide
more details about the error: does it happen on JS or native side? are there
any logs available in XCode or {{cordova log}} (to get it run
{{./platforms/ios/cordova/log}} from your shell)?
> Unexpected EOF while finding contacts in iPhone 6s
> --------------------------------------------------
>
> Key: CB-11010
> URL: https://issues.apache.org/jira/browse/CB-11010
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Affects Versions: 2.0.0
> Environment: iOS 9.2.1, iOS 9.3 in iPhone 6s
> Reporter: Gowtham
> Labels: iOS, mustfix, triaged
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]