fix(contacts plugin): add the rawId parameter (#2799)

* fix(contacts plugin): add the rawId parameter

This adds the rawId parameter to the contact class which allows the rawId value to be passed to Android which is required for saving contacts.

* Update index.ts
This commit is contained in:
duncan-c 2018-11-02 16:08:43 +00:00 committed by Daniel Sogl
parent 39b4b85631
commit b61b33987f

View File

@ -45,6 +45,9 @@ export interface IContactProperties {
/** A globally unique identifier. */
id?: string;
/** A globally unique identifier on Android. */
rawId?: string;
/** The name of this Contact, suitable for display to end users. */
displayName?: string;
@ -91,6 +94,7 @@ export interface IContactProperties {
export class Contact implements IContactProperties {
private _objectInstance: any;
@InstanceProperty id: string;
@InstanceProperty rawId: string;
@InstanceProperty displayName: string;
@InstanceProperty name: IContactName;
@InstanceProperty nickname: string;