remove image url print
This commit is contained in:
parent
6c591172df
commit
26d3638d80
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue