© Sheran Gunasekera 2020
S. GunasekeraAndroid Apps Securityhttps://doi.org/10.1007/978-1-4842-1682-8_2

2. Recap of Secure Development Principles

Sheran Gunasekera1 
Singapore, Singapore
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 ...

Get Android Apps Security: Mitigate Hacking Attacks and Security Breaches now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.