How to add commit hash as a build version

Oftentimes you will need to know which exactly build of the application user needs. For your regular users version name should be enough, but when it comes to your testers, you will probably give them multiple version between releases to test. This is why you may want to add build version also to your application… Czytaj dalej How to add commit hash as a build version

How to diagnose ANR

ANR are one of the biggest nightmares of every Android Developer. ANR means Application Not Responding and it is exactly this. There are three main types of ANR: The app is doing slow I/O operations on the main thread. The app performs long calculations on the main thread. The main thread waits for a synchronous… Czytaj dalej How to diagnose ANR

Plant a tree with Timber logs

If you want to log something in your debug app, and you for sure want, then you most probably heard about Timber library. It’s one of the most popular Android libraries, simple to use, but quite powerful. This is how you can make a basic setup, to logs messages only in debug build: