Manager App Setup
Last updated
Last updated
Step 1: Extract the zip and open the file.
Step 2: Open the Backend Folder.
Step 3: Copy the CZ.Api.ManagerApp folder.
Step 4: Paste it in the root directory of the Field Manager Server Project.
Step 5: Open Field Manager Vx.x.x.sln file in Visual Studio. Right-click on the Addons folder and select Add -> Existing Project.
Step 6: Go to the Field Manager Server project root and open the CZ.Api.ManagerApp folder.
Step 7: Select the CZ.Api.ManagerApp.csproj file and click open to import the project into solution.
Step 8: Now, right-click on the ESSWebApi project and select the Add -> Project Reference.
Step 9: Select the CZ.Api.ManagerApp project and Click OK.
Step 10: Open FeatureExtensions.cs from the ESSWebApi -> Extenstions folder.
Step 11: Paste the below-mentioned code inside the AddFeatureBreak method.
After pasting the code will look like this
Step 1: Extract the zip and open the file.
Step 2: Open the main file in the Android Studio.
Step 3: Once the project opened, open the pubspec.yaml file and click on the pug get in the top right corner or go to the terminal and cd into the project folder then run this command
This will install all dependencies.
Step 1: From the project, root go to android->app->main-> AndroidManifest.xml file
Step 2: In the AndroidManifest.xml file scroll down and paste the google maps API keys
Step 3: Go to lib->utils->app_constants.dart and paste the map's key in mapsKey const
Step 1: Open Firebase Console and click on your 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.
Make sure your Firebase CLI is working well and added to the system environment variable by opening in command prompt and firebase --version.
Step 4: You can skip the 3rd step as we already configured everything for you. So click on continue.
Step 1: Open lib->api->api_routes.dart file.
Step 2: Then replace the BaseURL and ManagerBaseURL value with your server IP (where your backend API project is running)
Don’t change the port only update the IP address
Step 3: Then connect your Android device or open an emulator and run the Project that’s all you are good to go.