Currently, by some life hacks when I'm running espresso tests, I'm able to load the activities other than MainActivity directly. This is probably a security vulnerability.
We should have a helper method which checks if a user is logged in. If he is logged in, do nothing (proceed normally), else bring him to the login page.
Currently, by some life hacks when I'm running espresso tests, I'm able to load the activities other than
MainActivitydirectly. This is probably a security vulnerability.We should have a helper method which checks if a user is logged in. If he is logged in, do nothing (proceed normally), else bring him to the login page.