ATH Sample
ATH Sample is a sample Authentication and Authorization Application with Kotlin Language and MVVM architecture.
Overview
ATH Sample is a sample project for Authentication and Authorization in android Application with Shared Preferences and Room Database.
This Project use:
- MVVM Architecture
- Koin Dependency Injection
- Room
- JavaMail Api
- Kotlin Coroutines
- Shared Prefrences
- Crypto Library.
Also when the user Signup into the app, the password is Encrypted and saved into Database. When the user logs out and then logs in again, the password is read from the database and then decrypted for verification. It's better for Security.
Screenshots
Demo
Tips
For Forgot Password section in this app, There are several things you need to keep in mind:
-
You must enter an Email that doesn't contain 2-Step Verification.
-
You must Launch application on Physical device.
-
Make sure Less secure apps is TURNED ON.
Check: https://www.google.com/settings/security/lesssecureapps
-
Allow each app to send email. Go to https://accounts.google.com/b/0/DisplayUnlockCaptcha and click on Continue.
-
For the last step, Enter your Email and Password in the SendEmailApi class in the project.
Contribution
If you have any ideas or issues, don't hesitate to make contact via the Issues page. Every contribution is welcome. I see every issues and pull requests you made.
❤️
Find this repository useful? Support it by joining stargazers for this repository.