[ 
https://issues.apache.org/jira/browse/CB-8290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020424#comment-15020424
 ] 

Vladimir Kotikov commented on CB-8290:
--------------------------------------

[~rameezraja], I can't reproduce this, since the iOS seems to not give a way to 
create a contact with newline symbols. How did you managed to do that?

> Cordova contacts plugin crashes if any one has a contact name with new line 
> chars. 
> -----------------------------------------------------------------------------------
>
>                 Key: CB-8290
>                 URL: https://issues.apache.org/jira/browse/CB-8290
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>         Environment: iPhone 4, 5, 6
>            Reporter: Rameez Raja
>              Labels: cannot-reproduce, iOS, triaged
>
> When i tried to search contacts using cordova contacts plugin, it crashes 
> when a contact has line break chars in its name (i.e. formatted, given, 
> family etc). For example i have a contact name in phone ABC<press return>DEF.
> Cordova plugin is returning this name as 
> ...
> name: {
>    formatted: 'ABC\U2028DEF'
>    ...
> }
> ...
> which is causing issue. Because it is not a valid JSON object.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to