HI,
I have created simple login system. But I got this error ("Network Error. Check your internet connectivity and retry ") when i connect with cloud.
// ------ in listener class code -------------
public function onConnectDone(res:int, reason:int):void
{
if (res == ResultCode.success) {
trace( " Success ");
} else if (res == ResultCode.auth_error) {
trace( " Auth Error ");
} else if (res == ResultCode.connection_error) {
trace("Network Error. Check your internet connectivity and retry");
} else {
trace("Unknown Error ");
}
}
// ----------- in main Class code ---------------------
WarpClient.initialize(apiKey, secretKey);
appwarp = WarpClient.getInstance();
appwarp.setConnectionRequestListener(appwarpListener);
WarpClient.getInstance().connect(username);
Thanks