Answer the question
In order to leave comments, you need to log in
Mobile application with access rights, user authorization?
There was a question for implementation of limited functionality.
Now the user has access to all the functionality, but now there will be an additional activity where the user can log in and he will already have full access, and if he does not log in, then only to some components of the application.
So this is how it is implemented on mobile applications?
I plan that the authorization check on the server will be through a token (bearer token, stateless)
Answer the question
In order to leave comments, you need to log in
the simplest thing is to make a BaseActivity in which you will check whether the user is logged in, when he logged in, etc., and if you need to throw him on the login screen
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question