[
https://issues.apache.org/jira/browse/CB-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094483#comment-14094483
]
ASF GitHub Bot commented on CB-7131:
------------------------------------
GitHub user emilioeduardob opened a pull request:
https://github.com/apache/cordova-plugin-contacts/pull/39
[CB-7131] Check for profile photo existance
This tries to solve the bug checking for the existance of the picture
before adding to the photo array
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/emilioeduardob/cordova-plugin-contacts
check-photo-existance
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-contacts/pull/39.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #39
----
commit ee570c839ed9ccbb1b89fede8a684348509e8e70
Author: Emilio Blanco <[email protected]>
Date: 2014-08-08T18:28:26Z
Check for profile photo existance
----
> Contact picker returns photo url even if a contact doesn't have one. (Android
> 4.4.4, 4.3)
> -----------------------------------------------------------------------------------------
>
> Key: CB-7131
> URL: https://issues.apache.org/jira/browse/CB-7131
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Contacts
> Affects Versions: 3.5.0
> Reporter: Meshkov Alex
> Assignee: Sergey Grebnov
> Priority: Minor
>
> When I pick contact that doesn't have any avatar with
> {code}navigator.contacts.pickContact{code} I get contact object with photo
> url which is broken. Contact without avatar should not contain any photo
> urls, but somehow it does...
--
This message was sent by Atlassian JIRA
(v6.2#6252)