Cordova Contacts 0.2.11 bug

3 posts, 0 answers
  1. Brandon Peterson
    Brandon Peterson avatar
    47 posts
    Member since:
    May 2007

    Posted 07 Jul 2014 Link to this post

    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. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 09 Jul 2014 Link to this post

    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!

     
  3. Brandon Peterson
    Brandon Peterson avatar
    47 posts
    Member since:
    May 2007

    Posted 23 Jul 2014 Link to this post

    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.
Back to Top