Best option to store username and password in android app

前端 未结 10 1926
深忆病人
深忆病人 2020-12-13 06:26

I am developing an Android app where the user needs to sign in to perform operations. But mostly on an android handset, people use \"Keep me signed in\", In

10条回答
  •  余生分开走
    2020-12-13 06:43

    At the very least, store it in SharedPreferences (private mode) and don't forget to hash the password. Although this won't really make a difference with a malicious user (or rooted device), it's something.

提交回复
热议问题