Example #1
0
        public void Start()
        {
            MyMessenger.AddListener <IAuthenticationSuccess>(BackendMessages.AUTH_SUCCESS, OnAuthenticationSucess);
            MyMessenger.AddListener(BackendMessages.CLOUD_SETUP_SUCCESS, OnCloudSetupSuccess);
            MyMessenger.AddListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure);

            mLoginTimer.Start();

            mBackend.Authenticate(SystemInfo.deviceUniqueIdentifier);
            //mBackend.Authenticate( TestUsers.FOUR );
        }