iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
if (!this.ActivationService.IsActivated()){ // Inside this viewmodel, a company code will be accepted from user's input. // The company code will be validated. Once confirmed valid, the details to // construct the Url for Crosslight's services will be retrieved and stored // to the device for future reference. Then, the Url will be generated and // assigned to the WebServerUrl and BaseAppUrl respectively. Afterwhich, the // user will be redirected to the LoginView via HomeViewModel. this.SetRootViewModel<ActivationViewModel>();}else{ // Initialize the AppSettings here. var appSettings = Container.Current.Resolve<AppSettings>; appSettings.WebServerUrl = this.ActivationService.GetStoredWebUrl(); appSettings.BaseAppUrl = appSettings.WebServerUrl + this.ActivationService.GetStoredAppName(); appSettings.BaseImageUrl = appSettings.BaseAppUrl + "/images/"; appSettings.RestServiceUrl = appSettings.BaseAppUrl + "/data/Inventory"; appSettings.IdentityServiceUrl = appSettings.BaseAppUrl + "/data/Identity"; appSettings.PushNotificationServiceUrl = appSettings.BaseAppUrl + "/data/PushNotification"; // Initialize the account service this.AccountService.Initialize(typeof(LoginViewModel)); // Set the root ViewModel to be displayed at startup if (!this.AccountService.IsLoggedIn()) { // Not logged-in, redirect user to the home page this.SetRootViewModel<HomeViewModel>(); } else { // Redirect user to main UI this.SetRootViewModel<DrawerViewModel>(); } // Push notification registration. this.RegisterDeviceForPushNotification(); }
Hi Yudi,
Thanks for your feedback. Please do provide the sample solution for this sample.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname