This app includes features for invoice generation, client management, and route tracking, designed for ease of use.
git clone https://github.com/sasankadeshapriya/order-processing-app-flutter.git
cd order-processing-app-flutter
flutter pub get
To use Google Maps services, add your API key directly to the AndroidManifest.xml
file.
-
Open the file
android/app/src/main/AndroidManifest.xml
. -
Inside the
<application>
tag, add the following metadata:<meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR_GOOGLE_MAPS_API_KEY"/>
Replace
YOUR_GOOGLE_MAPS_API_KEY
with your actual API key obtained from the Google Cloud Console.
If you have any other API keys or environment-specific configurations, you can manage them in the .env
file.
-
Create a
.env
file in the root directory of the project (based on the.env.example
provided). -
Example contents of the
.env
file:# .env file for Flutter project # Google Maps API Key GOOGLE_MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY # Base URL for API calls BASE_URL=https://api.gsutil.xyz
-
Important: Do not commit the
.env
file to version control. Make sure to add it to.gitignore
.
flutter run
To fully set up the system, you may need to clone and set up the backend repositories:
git clone https://github.com/sasankadeshapriya/order-processing-backend-laravel.git
git clone https://github.com/sasankadeshapriya/order-processing-api-nodejs.git
Follow the instructions provided in these repositories to set up the backend services.
- Security Considerations: Ensure that sensitive information such as API keys and secrets are securely managed and not exposed publicly.
- API Key Restrictions: Use the Google Cloud Console to restrict the usage of your API keys to specific apps and URLs.