cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maheshravva <>
Subject [GitHub] cordova-plugin-contacts pull request: Changes for Cordova Android ...
Date Sat, 10 Oct 2015 01:46:59 GMT
Github user maheshravva commented on the pull request:
    I am trying to pull the native contacts and copy the selected contact information to a
MySQL database using jQuery Ajax call. Contact information is sent in JSON format. But when
the Ajax call is triggered, I get an error as below
        D/ContactsAccessor: Could not find contact with ID
        E/Web Console: Uncaught RangeError: Maximum call stack size exceeded at file:///android_asset/www/cordova.js:1861
    I am running the application on Genymotion Emulator and using AndroidStudio IDE. Below
is my jQuery snippet
        //sample JSON data
        //native_contact_full_details = '{"displayName":"V","name":{"formatted":"V ","givenName":"V"},"nickname":null,"phoneNumbers":null,"emails":null,"addresses":null,"ims":null,"organizations":null,"birthday":null,"note":null,"photos":null,"categories":null,"urls":null,"username":"john.doe","password":"johndoe","idProfile":1,"idSubscriber":"1"}';
            url: "http://domain/test",
            type: "POST",
            data: native_contact_full_details,
            success: function( json ) {
            error: function( xhr, status, errorThrown ) {
                alert( "Sorry, there was a problem in your xhr" );                       
                console.log( "Error: " + errorThrown );
                console.log( "Status: " + status );
            complete: function( xhr, status ) {
                console.log( "The request is complete!" );
    Can anyone help me or suggest in resolving the issue?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message