Implementing a cross-platform chat with Flutter and Firebase, when opening the project, is essential, [if not done previously]:
-install the entire flutter environment on your PC with plugins and dart compiler
-configure your own Firebase account for creating a console and subsequently connecting to the project
- 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:
- firebase_options.dart (projectName/lib) [goes into the dart folder]
- firebase.json (in the project)
- 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
-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]
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


