Giter Club home page Giter Club logo

a914-gowtham / letschat Goto Github PK

View Code? Open in Web Editor NEW
152.0 1.0 55.0 120.97 MB

LetsChat is a Sample Messaging Android application built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger-Hilt, Architecture Components, MVVM, Room, Testing, Coil, DataStore) and Firebase

Home Page: https://medium.com/p/45c8d25106b4

License: MIT License

Kotlin 100.00%
kotlin kotlin-android mvvm mvvm-android android-architecture-components livedata-databinding livedata-viewmodel hilt-android room-persistence-library coroutines

letschat's Introduction

LetsChat

LetsChat is a Sample Messaging Android application built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Dagger-Hilt, Architecture Components, MVVM, Room, Coil) and Firebase

  • Create a firebase project and replace the google-services.json file which you get from your firebase project console
  • Following firebase services need to be enabled in the firebase console
    • Phone Auth
    • Cloud Firestore
    • Realtime Database
    • Storage
    • Composite indexes should be created for contact query(link for enabling indexes could be found from logcat while using the app)

You can Install and test latest LetsChat app from below ๐Ÿ‘‡

LetsChat App

Features โœจ

  • One on one chat
  • Group Chat
  • Typing status for one on one and group chat
  • Unread messages count
  • Message status for failed,sent,delivered and seen
  • Supported message types
    • Text
    • Voice
    • Sticker and Gif
  • Attachments
    • Image
    • Video - InProgress
  • Notification actions for reply and mark as read
  • Search users by username

Built With ๐Ÿ› 

  • Kotlin - First class and official programming language for Android development.
  • Coroutines & Flow - For asynchronous and more..
  • Android Architecture Components - Collection of libraries that help you design quality, robust, testable, and maintainable apps.
    • Navigation Component - Handle everything needed for in-app navigation with a single Activity.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • DataBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.Declaratively bind observable data to UI elements.
    • WorkManager - WorkManager is an API that makes it easy to schedule deferrable, asynchronous tasks that are expected to run even if the app exits or the device restarts.
    • Room - SQLite object mapping library.
  • Dependency Injection -
    • Dagger-Hilt - Standard library to incorporate Dagger dependency injection into an Android application.
    • Hilt-ViewModel - DI for injecting ViewModel.
  • Firebase -
  • Kotlin Serializer - Convert Specific Classes to and from JSON.Runtime library with core serialization API and support libraries with various serialization formats.
  • Coil-kt - An image loading library for Android backed by Kotlin Coroutines.

letschat's People

Contributors

a914-gowtham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

letschat's Issues

App Crashed

Anyone plz help me to fix this issue.every time i run app in emulator and then click on get otp button the app got crashed.

D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.paksoft.letschat, PID: 13286
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:122)
at androidx.localbroadcastmanager.content.LocalBroadcastManager.getInstance(LocalBroadcastManager.java:107)
at com.google.firebase.auth.internal.zzap.zza(com.google.firebase:firebase-auth@@20.0.0:18)
at com.google.firebase.auth.internal.zzap.zza(com.google.firebase:firebase-auth@@20.0.0:8)
at com.google.firebase.auth.internal.zza.zza(com.google.firebase:firebase-auth@@20.0.0:45)
at com.google.firebase.auth.internal.zza.zza(com.google.firebase:firebase-auth@@20.0.0:57)
at com.google.firebase.auth.internal.zzc.onFailure(com.google.firebase:firebase-auth@@20.0.0:3)
at com.google.android.gms.tasks.zzl.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.