Android Auto Backup + Keystore Encryption = Broken Heart Love Story
You care about your user’s data and you encrypt them. Android provides you Android Keystore to make it easier – great! You also want to help your user migrate the data when he changes the phone or wipes out data. Here also you can use built-in Android Auto Backup...
Early return in Kotlin
In programming, there is an open discussion as to whether you should only have one return statement.You can use these two options (or more with variations or more arguments): I prefer the second option, to have more than one return statement. I see it as more readable, but I...
Very basic security tips for every Android app
Here you can find some quick tips that will allow you to make your app much safer without adding much work. This should be a standard for every, even the simplest one, app. Use HTTPS Nowadays this is standard and crucial to every communication over the Internet. This doesn’t...
Updating dependencies in Android project – my approach
Lately, in my current project, we had a discussion about the approach to update dependencies. New versions are released – some bugs are fixed, some newly created, sometimes we have breaking changes, sometimes it doesn’t’ change nothing. What, when and how to update? In the ideal world, everything would...
Not so hardware Android Keystore
So you thought that your keys generated with an Android Keystore are securely stored in some hardware magic box? Not even close. You can find them on your drive. The headline above is something of a clickbait, but there is a lot of truth in it as well. TL;DR...
Generate quasi secure password on Android
Sometimes you have to use the generated password on the device.This is generally not the best approach but if you have to then try to do it as good as it is possible.This is my way to generate a random and quasi secure password on Android: You can ask...