عکس AbolfaZlRezaEe
This is a Sample Authentication and Authorization for Android With MVVM, JavaMail API, and more...Kotlin
موضوع‌ها
۰
فورک‌ها
۰
ستاره‌ها
۴
تاریخ ایجاد
۲۵ اردیبهشت ۱۴۰۰
آخرین بروزرسانی
حدود ۱ سال قبل

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

ATH_Sample_welcome_page ATH_Sample_signin_page ATH_Sample_signup_page ATH_Sample_main_page

Demo

20210518-213531

Tips

For Forgot Password section in this app, There are several things you need to keep in mind:

  1. You must enter an Email that doesn't contain 2-Step Verification.

  2. You must Launch application on Physical device.

  3. Make sure Less secure apps is TURNED ON.

    Check: https://www.google.com/settings/security/lesssecureapps

  4. Allow each app to send email. Go to https://accounts.google.com/b/0/DisplayUnlockCaptcha and click on Continue.

  5. 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. ⭐ And follow me for my next creations! 🤩