You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Stefan Janson (JIRA)" <ji...@apache.org> on 2012/09/26 13:18:07 UTC

[jira] [Created] (CB-1544) Support custom label on contact phone number

Stefan Janson created CB-1544:
---------------------------------

             Summary: Support custom label on contact phone number
                 Key: CB-1544
                 URL: https://issues.apache.org/jira/browse/CB-1544
             Project: Apache Cordova
          Issue Type: Improvement
          Components: iOS
            Reporter: Stefan Janson
            Assignee: Shazron Abdullah
            Priority: Minor


If I try to save a custom label with PhoneGap, it is saved as other.
Would be nice if the entered value actually was saved.

Have checked iOS API and apps using this and it should be doable, or is the problem in phonegap-code?

I have not coded anything in COcoa but found this link that should be related I guess.
http://stackoverflow.com/questions/2675783/how-to-add-a-custom-label-to-iphone-addressbook-programmaticly

Last time I requested this, my issue was closed since it could not be done but no reason was given, think it got confues with Android. This improvement request is for iOS.

--
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

[jira] [Commented] (CB-1544) Support custom label on contact phone number

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463875#comment-13463875 ] 

Becky Gibson commented on CB-1544:
----------------------------------

FYI - this is the previous ticket that was closed:  https://issues.apache.org/jira/browse/CB-177
Since Contacts is a W3C api, we are reluctant to deviate for feature request applicable to only one platform.  Although, I agree this is a reasonable request.  
                
> Support custom label on contact phone number
> --------------------------------------------
>
>                 Key: CB-1544
>                 URL: https://issues.apache.org/jira/browse/CB-1544
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Stefan Janson
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> If I try to save a custom label with PhoneGap, it is saved as other.
> Would be nice if the entered value actually was saved.
> Have checked iOS API and apps using this and it should be doable, or is the problem in phonegap-code?
> I have not coded anything in COcoa but found this link that should be related I guess.
> http://stackoverflow.com/questions/2675783/how-to-add-a-custom-label-to-iphone-addressbook-programmaticly
> Last time I requested this, my issue was closed since it could not be done but no reason was given, think it got confues with Android. This improvement request is for iOS.

--
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

[jira] [Commented] (CB-1544) Support custom label on contact phone number

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464103#comment-13464103 ] 

Becky Gibson commented on CB-1544:
----------------------------------

Ok, you got me there.  I initially implemented contacts for iOS and used the values provided in the W3C api.  There have been changes in the W3C api since contacts were implemented in Cordova.  We do need to update so we can address this then. Sorry for the confusion as the doc you reference does not describe the iOS implementation of phone number types.  
                
> Support custom label on contact phone number
> --------------------------------------------
>
>                 Key: CB-1544
>                 URL: https://issues.apache.org/jira/browse/CB-1544
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Stefan Janson
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> If I try to save a custom label with PhoneGap, it is saved as other.
> Would be nice if the entered value actually was saved.
> Have checked iOS API and apps using this and it should be doable, or is the problem in phonegap-code?
> I have not coded anything in COcoa but found this link that should be related I guess.
> http://stackoverflow.com/questions/2675783/how-to-add-a-custom-label-to-iphone-addressbook-programmaticly
> Last time I requested this, my issue was closed since it could not be done but no reason was given, think it got confues with Android. This improvement request is for iOS.

--
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

[jira] [Commented] (CB-1544) Support custom label on contact phone number

Posted by "Stefan Janson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463914#comment-13463914 ] 

Stefan Janson commented on CB-1544:
-----------------------------------

Thanks for clarification.

But looking at the  API for Contacts ContactField ( http://docs.phonegap.com/en/2.1.0/cordova_contacts_contacts.md.html#ContactField ) it says:
"For example, a phone number can have type values of 'home', 'work', 'mobile', 'iPhone', or any other value that is supported by the contact database on a particular device platform."

Why does it say "or any other value" when that's not the case?
Only allowed values should be listed or am I missing something here inbetwwen the lines.
                
> Support custom label on contact phone number
> --------------------------------------------
>
>                 Key: CB-1544
>                 URL: https://issues.apache.org/jira/browse/CB-1544
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Stefan Janson
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> If I try to save a custom label with PhoneGap, it is saved as other.
> Would be nice if the entered value actually was saved.
> Have checked iOS API and apps using this and it should be doable, or is the problem in phonegap-code?
> I have not coded anything in COcoa but found this link that should be related I guess.
> http://stackoverflow.com/questions/2675783/how-to-add-a-custom-label-to-iphone-addressbook-programmaticly
> Last time I requested this, my issue was closed since it could not be done but no reason was given, think it got confues with Android. This improvement request is for iOS.

--
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