Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Write down your pull request descriptions. --> ### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dev/documentation/dio/latest/) - [x] I have searched for a similar pull request in the [project](https://github.com/cfug/dio/pulls) and found none - [x] I have updated this branch with the latest `main` branch to avoid conflicts (via merge from master or rebase) - [x] I have added the required tests to prove the fix/feature I'm adding - [x] I have updated the documentation (if necessary) - [x] I have run the tests without failures - [x] I have updated the `CHANGELOG.md` in the corresponding package ### Motivation When running the app on systems focused on application analysis, such as [BrowserStack](https://www.browserstack.com) , same in profile mode , the request logs can leak unwanted information, even if the developer has the option to remove the print, most of them are not aware of these "leaks" of requests. This opens the way for an attacker who has an apk , aab or any other file that the browserStack accept, be able to run the app on the website and view the logs So I suggest the inclusion of this little code that by default only executes the prints in debug mode <!-- Provide more context and info about the PR. --> --------- Signed-off-by: Lucas Matheus <[email protected]> Signed-off-by: Alex Li <[email protected]> Co-authored-by: LucasMatheusDev <[email protected]> Co-authored-by: Jonas Uekötter <[email protected]> Co-authored-by: Alex Li <[email protected]>
- Loading branch information