/// <summary>
		/// Initializes a new instance of the <see cref="T:Xamarin.Forms.Conference.WebRTC.LoginViewModel"/> class.
		/// </summary>
		public LoginViewModel()
		{
			LoginCommand = new Command(LoginExecute, CanLoginExecute);

			platform = Quickblox.Sdk.GeneralDataModel.Models.Platform.android;
			switch (Device.OS)
			{
				case TargetPlatform.iOS:
					platform = Quickblox.Sdk.GeneralDataModel.Models.Platform.ios;
					break;
				case TargetPlatform.Windows:
				case TargetPlatform.WinPhone:
					platform = Quickblox.Sdk.GeneralDataModel.Models.Platform.windows_phone;
					break;
				default:
					break;
			}

			uid = DependencyService.Get<IDeviceIdentifier>().GetIdentifier();
		}
        /// <summary>
        /// Initializes a new instance of the <see cref="T:Xamarin.Forms.Conference.WebRTC.LoginViewModel"/> class.
        /// </summary>
        public LoginViewModel()
        {
            LoginCommand = new Command(LoginExecute, CanLoginExecute);

            platform = Quickblox.Sdk.GeneralDataModel.Models.Platform.android;
            switch (Device.OS)
            {
            case TargetPlatform.iOS:
                platform = Quickblox.Sdk.GeneralDataModel.Models.Platform.ios;
                break;

            case TargetPlatform.Windows:
            case TargetPlatform.WinPhone:
                platform = Quickblox.Sdk.GeneralDataModel.Models.Platform.windows_phone;
                break;

            default:
                break;
            }

            uid = DependencyService.Get <IDeviceIdentifier>().GetIdentifier();
        }