Exemplo n.º 1
0
        public string getAssetFolderFWversion()
        {
            IMobile mobile   = DependencyService.Get <IMobile>();
            var     files    = mobile.GetAllAssetsName();
            string  fileName = default;

            foreach (var f in files)
            {
                if (f.Contains("ota_data_initial"))
                {
                    fileName = f;
                    break;
                }
            }
            var otaVer = fileName != default ? new List <string>(fileName.Split('_'))[3] : "";

            return(otaVer);
        }