If I were limited to the one most important thing, it would be "How to handle user credentials and data securely."
Your app can fuck up a LOT of things, and maybe you'll lose users, or maybe you'll lose marketshare... but the one thing you shouldn't lose is user data.