java - Android storing login credentials / automatic login after registration -
i developing messenger app android , i'm working on user login. first time user starts app, made activity
log on. currently, "registering" new user in database on java server. how can store login data users can login without having enter credentials every time? in question suggested use token authentication. far know, there no way securely store information. shared preferences
not secure, can read (and change) them when rooted. use secured database? if use token authentication, how can implement it? i've seen examples using webview
. need login on mosquitto mqtt server (for push messages).
i appreciate help. sorry asking such (maybe) trivial questions, haven't found useful on internet.
it's better can use imei number primary authentication key. if imei present in database proceed automatic login else proceed login screen
Comments
Post a Comment