Skip to content

daniele-NA/chat

Repository files navigation

description

Implementing a cross-platform chat with Flutter and Firebase, when opening the project, is essential, [if not done previously]:

flutter

-install the entire flutter environment on your PC with plugins and dart compiler

Getting Started with FIREBASE

-configure your own Firebase account for creating a console and subsequently connecting to the project

Schemedatabase

  • the configuration requires NPM [Node.js] commands, so proceed with installing Node on your PC

-download, modify [if necessary] the 3 console files that are not present in my project, which:

  1. firebase_options.dart (projectName/lib) [goes into the dart folder]
  2. firebase.json (in the project)
  3. google-services.json (android/app/src)

!) create 4 collections, 'messages'-'parameters'-'features'-'ratings', the names can be changed in the Args classes in the abstract connections class

project

-for safety and to accept splash and icon operation, first type: flutter pub run flutter_launcher_icons:main

-for the splash: flutter pub run flutter_native_splash:create

N.B [version], you need:

-openJdk 21 Java -Kotlin compiler -gradle 8.x.y -flutter plugin and sdk -dart sdk [embedded in flutter folder]

Issues

N.B:

  • the app can sometimes cause problems when first opening the chat for a new user, also putting their messages on the left together with those received, this is caused by latency (failure to call the flow to the parameters collection. -The app is not guaranteed to run on desktop and iOS, only tested on web and Android -the splash and icons have bugs and malformations on Android versions higher than 11 -Toast doesn't work on the web and the background remains that of spam

preview splash

splash

display

home_auth

About

ANDROID online chat with firebase and firestore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors