I need to make an Android Application that has a connection to a remote php server to fetch and save data.
This app needs to work offline and have a login system based on the same data that the server has.
Should I have the same passwords on the Server and on the Smartphone? Or should I have 2 different system logins (one password for the app and other for the server login)?