-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-18359] iOS: Fix bug for retrieving birthday in iOS8 and other contact updates #6598
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,24 @@ properties: | |
type: String | ||
platforms: [android, iphone, ipad, tizen, blackberry] | ||
|
||
- name: alternateBirthday | ||
summary: | | ||
Alternate birthday of the person. Single Dictionary. | ||
description: | | ||
The format of the dictionary accepted by this property is as follows: | ||
|
||
* Keys: `calendarIdentifier`, `era`, `year`, `month`, `day` and `isLeapMonth`. | ||
* Values: Use `chinese`, `hebrew` and `islamic-civil` for `calendarIdentifier`. | ||
Use `number` type for `era`, `year`, `month` and `day`. These must be consistent with | ||
corresponding `calendarIdentifier`. | ||
Use `boolean` type for `isLeapMonth`. | ||
|
||
|
||
type: Dictionary | ||
platforms: [iphone, ipad] | ||
osver: {ios: {min: "8.0"}} | ||
since: 3.6.0 | ||
|
||
- name: created | ||
summary: Date and time that the person record was created. Single value. | ||
description: Date format is "_yyyy_-_MM_-_dd_**T**_HH_**:**_mm_**:**_ss_**.**_SSS_**+0000**" | ||
|
@@ -151,7 +169,7 @@ properties: | |
|
||
- name: instantMessage | ||
summary: | | ||
Instant messenger names of the person. Multi-value. | ||
Instant messenger information of the person. Multi-value. | ||
description: | | ||
The format of the dictionary accepted by this property is as follows: | ||
|
||
|
@@ -160,15 +178,31 @@ properties: | |
`string` type value. | ||
|
||
The `service` key value may be one of `AIM`, `Facebook`, `GaduGadu`, `GoogleTalk`, `ICQ`, | ||
`MSN`, `QQ`, `Skype`, or `Yahoo`. | ||
`Jabber`, `MSN`, `QQ`, `Skype`, or `Yahoo`. | ||
|
||
On BlackBerry, the following apply: `aim`, `aliwangwang`, `bbmPin`, `googleTalk`, `icq`, | ||
`irc`, `jabber`, `msLcs`, `msn`, `qq`, `sametime`, `skype`, `yahooMessenger`, `yahooMessenger` | ||
`irc`, `jabber`, `msLcs`, `msn`, `qq`, `sametime`, `skype`, `yahooMessenger` | ||
|
||
|
||
type: Dictionary | ||
platforms: [android, iphone, ipad, blackberry] | ||
|
||
- name: socialProfile | ||
summary: | | ||
Social profile information of the person. Multi-value. | ||
description: | | ||
The format of the dictionary accepted by this property is as follows: | ||
|
||
* Keys: any of `home`, `work` and/or `other`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the keys are incorrect. Shouldn't they be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As explained in the below note, the current sdk reads the input for instantMessage in this format. And I followed the same format for socialProfile so that the behavior and usage is similar. The predefined values are actually the |
||
* Values: arrays of dictionary types with two keys, `service` and `username` each with a | ||
`string` type value. | ||
|
||
The `service` key value may be one of `Twitter`, `SinaWeibo`, `GameCenter`, `Facebook`, | ||
`Myspace`, `LinkedIn`, or `Flickr`. | ||
|
||
type: Dictionary | ||
platforms: [iphone, ipad] | ||
since: 3.6.0 | ||
- name: jobTitle | ||
summary: Job title of the person. Single value. | ||
type: String | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Jabber supported on Android? Again the keys are home,work etc. As in socialProfile almost any String value will be accepted but there are predefined values in iOS which we should document
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added support for Jabber in Android in next commit. The keys
home
,work
,others
were there before this PR, and if changed, will break the parity for android. The predefined values are actually exactly theseservice
key values written in the doc, and are case sensitive.