mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
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:
parent
39b4b85631
commit
b61b33987f
@ -45,6 +45,9 @@ export interface IContactProperties {
|
|||||||
/** A globally unique identifier. */
|
/** A globally unique identifier. */
|
||||||
id?: string;
|
id?: string;
|
||||||
|
|
||||||
|
/** A globally unique identifier on Android. */
|
||||||
|
rawId?: string;
|
||||||
|
|
||||||
/** The name of this Contact, suitable for display to end users. */
|
/** The name of this Contact, suitable for display to end users. */
|
||||||
displayName?: string;
|
displayName?: string;
|
||||||
|
|
||||||
@ -91,6 +94,7 @@ export interface IContactProperties {
|
|||||||
export class Contact implements IContactProperties {
|
export class Contact implements IContactProperties {
|
||||||
private _objectInstance: any;
|
private _objectInstance: any;
|
||||||
@InstanceProperty id: string;
|
@InstanceProperty id: string;
|
||||||
|
@InstanceProperty rawId: string;
|
||||||
@InstanceProperty displayName: string;
|
@InstanceProperty displayName: string;
|
||||||
@InstanceProperty name: IContactName;
|
@InstanceProperty name: IContactName;
|
||||||
@InstanceProperty nickname: string;
|
@InstanceProperty nickname: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user