Docly Child

Flutter Configuration

Estimated reading: 2 minutes 34 views

Changing the App Name

  •  In the main directory go to the lib -> configs.dart
const APP_NAME = 'YOUR APP NAME';

Reconfiguring the Server URL

  •  In the main directory go to the lib -> configs.dart
const DOMAIN_URL = "ADD YOUR BASE URL" ;

Changing Primary Color

  • n the main directory go to the lib -> utils -> colors.dart
const primaryColor = Color(0xFF5F60B9);
const appSecondaryColor = Color(0xFF68685);

Google Calendar Setup for Kivicare Pro - Clinic & Patient Management System EHR (Add-on)

To configure Google Calendar, click here.

Note:- Only admin can enable disable the google calender configration

 

 

 

 

Changing Google Map Key

  • If you don’t have google map key follow the steps below
    Go To your Firebase console => Project Oveview => Project Settings =>general 
    You will see Web API key copy that and then continue the next steps.
  • Set up Google Map key
    • In the main directory go to the android/app/src/main/AndroidManifest.xml
    • Change the existing key
<meta-data
    android:name="com.google.android.geo.API_KEY"
    android:value="YOUR_MAP_KEY" />

Changing Firebase Default Config

IMPORTANT

After completion of Firebase Configuration you can proceed further.

  • Navigate to lib/network/services/default_firebase_config.dart. 
    Replace the respective values here.

For apiKey go To Project Settings and Click on General Tab you’ll find Web API Key and Project ID and paste it all blocks in dart file mentioned above. 

Scroll Down and in Your Apps section you’ll find App Id in Android and iOS section.
Copy that and paste it to appId in respective Block. Copy Bundle ID and paste it to iosBundleId

For messagingSenderId Click on Cloud Messaging you will see Sender ID.
Copy that paste it to messagingSenderId  which is same for all platforms.

Note – projectId, apiKey, messagingSenderId and storageBucket are common for All platforms.

Leave a Comment

Share this Doc
CONTENTS