Welcome to the installation guide of HomeApp, a Flutter application. This app is a cross-platform application, and this guide will walk you through the steps needed to run the application on both Android and iOS devices.
Before you can run this app, you need to have the following installed:
- Flutter SDK (version 2.2.3 or above)
- Dart (version 2.13.4 or above)
- Android Studio or IntelliJ or VS Code with Flutter plugin installed
- Xcode (for iOS only)
- Git
To check if you have Flutter and Dart installed correctly, run the following commands:
flutter --version
dart --versionYou can use the following command to clone the repository:
git clone https://github.com/gabriel-bolbotina/HomeManagementApp.gitcd HomeManagementAppRun the following command in the root of your project:
flutter pub getDownload your own google-services.json (for Android) and GoogleService-Info.plist (for iOS) from Firebase Console and put them into android/app and ios/Runner directory respectively.
For Android, ensure that your package name in android/app/build.gradle file matches your Firebase project's package name.
For iOS, in Xcode, you need to also set the Bundle Identifier to match the one on Firebase console.
1.Connect your Android device or start the Android emulator. 2.Run the following command to build and run the app:
flutter run1.Open the ios/Runner.xcworkspace file in Xcode.
2.Set up a Team for your project. Go to Runner > Signing & Capabilities > Team and choose your team.
3.Connect your iOS device or start the iOS simulator.
4.Go back to your terminal, and run the following command:
flutter runCongratulations, you should now be able to run the HomeApp on your device!
If you encounter any issues, try the following:
1.Make sure all your Flutter and Dart plugins are up-to-date. 2.Try to stop the app and re-run it. 3.If any issue persists, try a full restart by stopping the app, deleting it from your device/emulator, and re-running it.
If you still face issues, please raise an issue on the GitHub repository, providing as much detail as possible.