[
https://issues.apache.org/jira/browse/CB-9770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15005652#comment-15005652
]
Steven Elliott commented on CB-9770:
------------------------------------
I needed a workaround myself so I published a new package for anyone else who
wants to keep their workspace clean.
https://www.npmjs.com/package/cordova-plugin-contacts-ios9
This is just a fork of the cordova contacts repo but it has 2 specific
javascript functions to give you more control for iOS users.
<code>showContactsPermission</code> and <code>hasContactsAccess</code> can be
called from javascript at different points in your code.
Let me know if you have any questions, but I am now using this successfully in
my own app.
> pickContact crashes when linked contact selected
> ------------------------------------------------
>
> Key: CB-9770
> URL: https://issues.apache.org/jira/browse/CB-9770
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Affects Versions: 5.3.3
> Environment: ios 9.0.2
> Reporter: Mike Hedman
> Labels: ios, triaged
>
> Picking contacts works for many contacts, but for certain contacts it crashes
> every time with the following error:
> Terminating app due to uncaught exception 'NSInternalInconsistencyException',
> reason: 'A contact and its snapshot should both be non-unified.'
> My guess is that this is due to the problem contacts being "linked". This
> article suggests that is the cause:
> https://forums.developer.apple.com/thread/11354
> Just a note, when I enter: "cordova -v" it tells me I have 5.3.3, but that
> option was not available in the "Affects Version" field, so I just selected
> 5.3.2.
> I installed cordova-plugin-contacts today, so it's the latest.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]