cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Mocny <mmo...@chromium.org>
Subject Re: Contacts API, iOS
Date Fri, 20 Jun 2014 18:18:09 GMT
Looks like the last release was based on dev branch (
https://github.com/apache/cordova-plugin-contacts/blob/55ba3f2580d2c3bbd1662f49d89043710446220a/www/contacts.js),
which was closed, but maybe wasn't merged in to master?

-Michal


On Fri, Jun 20, 2014 at 2:10 PM, Ray Camden <raycamde@adobe.com> wrote:

> Ok, so.... doing
>
> cordova plugin add org.apache.cordova.contacts
>
> brings in org.apache.cordova.contacts/www/contacts.js that does NOT match
> what I'm seeing in
> https://github.com/apache/cordova-plugin-contacts/blob/master/www/contacts.js,
> which was last updated *2* months ago.
>
> Any ideas?
>
> ________________________________________
> From: Ray Camden <raycamde@adobe.com>
> Sent: Friday, June 20, 2014 1:07 PM
> To: dev@cordova.apache.org
> Subject: Contacts API, iOS
>
> (I struggled with whether or not this should go here or the Google Group.
> Settled on here but if folks think it should be moved, just let me know.)
>
> I was building a small test of the pickContact API when I noticed it
> didn't work in iOS. I opened up a remote debug session with Safari and
> noticed it had chooseContact.
>
> Thinking it was just a doc bug, I corrected it with a pull request and
> returned to my code. But then my app crashed after selecting a contact.
>
> From what I can see, the chooseContact iOS API is:
>
>     chooseContact : function(successCallback, options) {
>
> not
>
>     chooseContact : function(successCallback, errorCallback) {
>
> So something is seriously weird here compared to the original docs. Anyone
> know what is going on with the plugin?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message