Facing issue in Registration Issue

I want to build an app using C2Call but I don't want to use SDK UI for Registration purpose, so I directly called the method used for registration but I am not getting userId in response. There are only two types of returns one is Integer & other is giving APIResponse type response & there is no userId in API respons also. How can I get the userId and where is it being stored for further access in Video Call & chat?
Responses (1)
  • Accepted Answer

    Monday, April 11 2016, 09:57 AM - #Permalink
    Hello Amitutor,

    first, you need a PRO account in order to use the low-level method to register new users. Then those methods won't return a userid but an error code (0 on sucess). To get your userid you have to call SCCoreFacade.getProfile().getId().

    The reply is currently minimized Show
Your Reply

About us

C2Call GmbH leads the way in introducing next generation mobile and browser-based calling solutions for the computing cloud. FriendCaller for iOS and Android are built using C2Call SDK, and demonstrate the unique capabilities to establish a peer-to-peer connection with any mobile platform and with any Internet browser without prerequisite software installations. With the new C2Call SDK, developers would now be able to integrate features alike FriendCaller in their existing or new apps on mobile.