Skip to content

successCallback not triggered #4

@sagarinnova

Description

@sagarinnova

On controller.js , there is success call back method. Unfortunately I am not receiving the call back.
And I dont even see any error that is coming up. Please help.

$scope.gLogin=function(){

    //Login with Google Api Client Plugin
    if(isAndroid() || isiOS()){
        navigator.googleConnectPlugin.googleLogin({
         successCallback : function(userProfile){
            //alert('User Name'+JSON.stringify(userProfile));
            localStorage.setItem('UserProfile',JSON.stringify(userProfile));
        },
        errorCallback : function(error){
            alert('Error :'+error);
        }
        });
    }
    else
        {
            console.log('no feature');

        }
}

Thanks,
Sagar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions