v.1.2.7 #36

Merged
yaso_meth merged 26 commits from v.1.2.7 into main 2026-06-01 12:23:48 +00:00
Showing only changes of commit 26d3638d80 - Show all commits
@@ -49,11 +49,11 @@ class MihFileApi {
} }
} catch (e) { } catch (e) {
// internetConnectionPopUp(context); // internetConnectionPopUp(context);
print("Error getting url"); KenLogger.error("Error getting url");
} finally { } finally {
// Navigator.of(context).pop(); // Always pop loading dialog // Navigator.of(context).pop(); // Always pop loading dialog
} }
KenLogger.success("File URL: $fileUrl"); // KenLogger.success("File URL: $fileUrl");
if (AppEnviroment.getEnv() == "Dev" && kIsWeb) { if (AppEnviroment.getEnv() == "Dev" && kIsWeb) {
fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1"); fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1");
} else if (AppEnviroment.getEnv() == "Dev" && Platform.isIOS) { } else if (AppEnviroment.getEnv() == "Dev" && Platform.isIOS) {
@@ -61,7 +61,7 @@ class MihFileApi {
} else if (AppEnviroment.getEnv() == "Dev" && Platform.isLinux) { } else if (AppEnviroment.getEnv() == "Dev" && Platform.isLinux) {
fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1"); fileUrl = fileUrl.replaceAll("10.0.2.2", "127.0.0.1");
} }
KenLogger.success("File URL: $fileUrl"); // KenLogger.success("File URL: $fileUrl");
return fileUrl; return fileUrl;
} }