This is a migrated thread and some comments may be shown as answers.

Cordova Contacts 0.2.11 bug

2 Answers 26 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brandon Peterson
Top achievements
Rank 2
Brandon Peterson asked on 07 Jul 2014, 07:51 AM
Core Contacts plugin 0.2.11 has a bug in which a breaking change to the order of the arguments for the method navigator.contacts.find were changed.

Here is a console log from an app deployed to an Android device:
Uncaught TypeError: Wrong type for parameter "successCB" of contacts.find: Expected Function, but got Array

This branch has a fix:
https://github.com/apache/cordova-plugin-contacts/tree/432b0143442a689e349e347f33ee85aeb2d28663

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 09 Jul 2014, 02:52 PM
Hi Brandon,

Thank you for reporting this issue. We have already implemented the fix you mentioned. Can you please try building your app again and let us know if it works as expected?

Thank you in advance for your cooperation.

Regards,
Tina Stancheva
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Brandon Peterson
Top achievements
Rank 2
answered on 23 Jul 2014, 07:43 AM
Tina, it worked great on my latest build today when I removed the manually installed Cordova contacts plugin and enabled the project core contacts plugin. Thank you for the heads up on the resolution.
Tags
Report a bug
Asked by
Brandon Peterson
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Brandon Peterson
Top achievements
Rank 2
Share this question
or