I am working on android project using MVVM kotlin and it is an app with payment methods connected to an online API, my question is:is it secure to save the user login information in a sharedPreference? and if not, what is the best secure method?
either SharedPreferences or room database
store the user information securely in local storage