BuildIt.Client.Core.App.InitAppConfig C# (CSharp) Method

InitAppConfig() private method

private InitAppConfig ( ) : void
return void
        private async void InitAppConfig()
        {
            var appConfigService = Mvx.Resolve<IAppConfigurationService>();
            //appConfigService?.InitForMvvmCross();
            // Step 1: Retrieve App config from Azure
            if (appConfigService == null) return;

            appConfigService.AdditionalHeaders.Add(new KeyValuePair<string, string>(Strings.ApiKey, Config.Core.Constants.AppConfigurationApiKey));
            //appConfigService.Mapper.EnsurePresence("App_VersionInfo_CurrentAppVersion", true);

            //await appConfigService.LoadAppConfig();

            // Step 2: Check the minimum version & block the app from running if it's not met
            await appConfigService.NotifyUserWhenNotMetAppMinVer();
            // Step 3: Check the recommended version & alert users if it's not met
            //await appConfigService.CheckRecommendedVersion();
        }
    }