Userservice createUser doesn't work if callback is supplied

0 votes

Hi,

 

     I am trying to use UserService api from App42. Not able to make it work, when I use a callback it throws error that No Matching member function, if I supply NULL in place of callback it doesn't show any error. Any Idea?

 

   Here is the image of what I am doing exactly.

   

 

Update

I have found mismatch in the document defined here http://api.shephertz.com/app42-docs/user-management-service/#create-user for cocos2dx, the callback methods doesn't match with the api I am using, the documents are not updated. And too after changing the callback parameters its not working.

 

See my changed code.

void EnterName::onUserRequestCompleted(App42HttpClient *sender, App42HttpResponse *response){

 

}

 

The above code too shows the same error, please help.

 

Thanks.

asked Jan 23, 2015 in App42 Cloud API-BaaS by veda.in (28 points)
edited Jan 23, 2015 by veda.in

1 Answer

0 votes
 
Best answer
Ok, I got a sample that works with the latest version of App42. Get from here https://github.com/RajeevRShephertz/App42Cocos2dXSampple.

 

Though this is not mentioned anywhere in the documentation, or, api usage, I think it should be updated.

 

Thanks.
answered Jan 23, 2015 by veda.in (28 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...