How can I make the user remember user and password in the app

Hi, I have a app and first thing the user have to do is enter his user and his password to have access to the rest of the app, but how can I make that the user remember his data in his phone to login automatically without enter again his data?