Valter Vicente created CB-1481:
----------------------------------

             Summary: ContactName - name.formatted returns with a trailing 
white space
                 Key: CB-1481
                 URL: https://issues.apache.org/jira/browse/CB-1481
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.0.0
            Reporter: Valter Vicente
            Assignee: Joe Bowser
            Priority: Minor


I'm developing an application for Android and iOS and since displayName is not 
available in iOS, I'm using name.formatted which works in both. But while my 
iOS application was working as expected, the Android one wasn't and I found out 
that that's because when name.formatted is retrieved, it comes with a trailing 
white space.

Apply a jQuery trim is an obvious workaround, but it's a simple bug to solve 
and maybe it will benefit everyone, who will not waste time with it - I wasted 
about an hour trying to figure it out what was happening.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to