by Juan Leyva.
Hi,
we don't store the username or password in the Mobile app, we use the username and password for obtaining a token that will be used for authenticating all the WS requests.
https://docs.moodle.org/dev/Creating_a_web_service_client#How_to_get_a_user_token
Regards, Juan