Skip to content

snj07/LetsChat

Repository files navigation

LetsChat

An application for chat using Firebase. Developed in Kotlin.

Features

• Chat using Firebase
• Send Emoticon
• Send gallery and camera image
• Send Location
• Pinch zoom for image
• Persistent data of chat

Screens

Geting Started

Update following values in MainActitivty

       const val CHAT_REFERENCE = "message" //database name
       const val STORAGE_PATH = "gs://friendlychat.appspot.com" //your firebase storage path
       const val STORAGE_FOLDER = "images" // folder in storage area

Places Api

<string name="api_key_google_places">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</string>

Step 1: Create Firebase project
Step 2: Create application in project
Step 3: Generate google-services.json and place it in app folder of project.
Step 4: Enable Authentication in Firebase
Step 5: Add database with "message" name in Firebase real time database
Step 6: Create folder in Firebase storage

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.