© Sheran Gunasekera 2020S. GunasekeraAndroid Apps Securityhttps://doi.org/10.1007/978-1-4842-1682-8_2
2. Recap of Secure Development Principles
In Android coding with Kotlin or Java, you may have to go out of your way a little to write insecure code. I mean, there are the obvious ones like leaving your private key hardcoded, but in general you should do fine on the code front. Kotlin has made several improvements to Java, which was one of the only ways to write Android code natively in the past. Some notable, among the several, Kotlin improvements have been the addition of null safety and lesser quantity of code written. The null safety check in Kotlin means that if you were to access a variable that points ...