MuTe33
MuTe33
By default, no network calls are allowed in tests. You can overwrite this behaviour like this: ```dart HttpOverrides.global = _EnableHttpOverrides(); class _EnableHttpOverrides extends HttpOverrides {} ```
Yea, you can encode your `.env` file as `base64` and before build process pipe it in decoded using `echo "$ENV_FILE" | base64 --decode > .env` `ENV_FILE` is the secret/env variable...
Is this task still available? What are the requirements for this task? Only TR and EN support and getting rid of hardcoded strings? Using the flutter way of localizations, so...
@Tary-nan You have to cast the `BaseRequest`. Depending on your request type it's either a `StreamedRequest`, `Request` or `MultiPartRequest`. Example: ```dart @override Future interceptRequest({required BaseRequest request}) async { if(request is...
Try to write the file in `File` format first and then share. Somehow the `XFile()` or `XFile.fromData()` doesn't work as expected. So my workaround to share in image is: ```...
If you don't check in your `.env` file you need a way to provide it during build. In Codemagic or any other CI/CD you need to execute a kind of...
Consider this https://github.com/java-james/flutter_dotenv/issues/50#issuecomment-1059777995