Getting started #
Step 1: Extract the downloaded zip file in your local application.

Step 2: open the cz_loyalty_flutter folder in the Android Studio.

Step 3: Once the project is opened, open the pubspec.yaml file and click on the pub get in the top right corner or go to the terminal and cd into the project folder then run the following command.
flutter pub get
NOTE: Ensure you are using the Flutter SDK Version-3.27.4
This will install all the dependencies

Setting Maps API Key #
Step 1: From the project, root go to android->app->src->main-> AndroidManifest.xml file. Now, scroll down and paste the Google Maps API keys.

Step 2: Go to lib->utils->app_constants.dart . Then paste the mapsKey respectively.

Firebase setup #
Step 1: Log into the firebase console and click on create a project.

Step 2: Once the project dashboard opens, click on the flutter icon.

Step 3: In this step, just install the Firebase CLI and login to the CLI with your account and click next.
NOTE: Ensure your Firebase CLI is working well and added to the system environment variable by opening in command prompt and firebase --version.

Step 4: Open your terminal and execute the following two commands to install and run the FlutterFire CLI.



Step 5: Initialize the firebase and click on the continue to console button.

Changing Base URL #
This Step will connect the mobile app to the Backend
Step 1: Open lib->api->api_routes.dart file. Then replace the BaseURL value with your server IP (where your backend API project is running)
Example: https:// Paste the BaseURL /api/V1/

Step 2: Then connect your Android device or open an emulator and run the Project. That’s all you are good to go.
