How to set up One Time Login in my app?

As everyone said, use tinyDB to store password (if you have one) and phone number. Remember to encrypt the password and phone number using Cryptography

Here is an example of using Remember me (similar to One Time Login)

Then, when screen initialize, login with the stored value.