From 6e2013734094afabb956c1ad424fbe4f05cc48eb Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Tue, 28 Mar 2017 04:44:48 -0400 Subject: [PATCH] fix(contacts): fix major bug --- src/@ionic-native/plugins/contacts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/contacts/index.ts b/src/@ionic-native/plugins/contacts/index.ts index 82cceeee7..ad738b0dc 100644 --- a/src/@ionic-native/plugins/contacts/index.ts +++ b/src/@ionic-native/plugins/contacts/index.ts @@ -72,7 +72,7 @@ export class Contact implements IContactProperties { @InstanceProperty urls: IContactField[]; constructor() { - if (checkAvailability(navigator.contacts, 'create', 'Contacts') === true) { + if (checkAvailability('navigator.contacts', 'create', 'Contacts') === true) { this._objectInstance = navigator.contacts.create(); } }