![]() Of course, different settings will be adjusted as needed along the way, but things such as code coverage, percentage of duplicate code and the number of issues that the static code analyzer finds need to be strictly enforced, otherwise many developers probably won’t be making use of the tool. However, there is one very, very important thing to consider when integrating such tools: enforce as many quality metrics as possible from day one. The tool helped identify and measure tech debt, as well as demonstrate the necessity of refactoring to management, thanks to a visual interface that is easy to understand, even for non-developers. ![]() I’ve been using Sonarqube together with the AndroidAnalyzer plugin in my last couple of projects and it had a positive effect on the quality of the codebase and learning of my team. Static analysis tools like Sonarqube are built to keep track of and help tackle tech debt, bugs, duplications and code coverage issues. ![]() Integrate a static analysis tool (or at least a linter) Being able to quickly adjust these parameters can be especially useful for A/B testing. In addition to high-level configuration options such as API URLs, credentials and feature flags, remote config can also be used for altering UI elements, their colors, shapes or labels. This solves the issues with securely updating and storing values, and also provides a customizable API. It effectively allows developers to “flip a switch” remotely for existing users, without having to release a new version of the app. Hardcoding does not allow the developer to switch to a different web API or toggle certain features without releasing an app update, and if the APK is deobfuscated any sensitive information stored in code could be accessed and stolen.įirebase Remote Config is a free remote sync solution offered by Google. While this may be functional, hardcoding these settings limits business opportunities by reducing flexibility, and makes the system less secure overall. ![]() somewhere in the code, especially in larger projects. Typically, Android projects may contain hardcoded API URLs, credentials, feature flags, etc. ![]() Android Jetpack graphic from XDA Developers Use remote configuration ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |