GuidesDiscussions
Log In
Guides

drconfig.json

Description of the drconfig.json file

📘

Note

What is shown below is a sample for explanation, Please use the drconfig.json provided with your package.

{
  "organizationType": "static",
  "organization": "IU",
  "organizationId": "5a294f81993c8f1570c25580d",
  "baseOrganization": "IU",
  "orgSelection": "HOST_APP",
  "timerTriggerConfig": 86400,
  "version": 3,
  "isSdkBuild": true,
  "fcmProjectId": "iu-ia-sdk",
  "fcmSenderId": "2960116619276",
  "fbRemoteProjectId ": "dr-ia-sdk",
  "fbRemoteAPIKey": "AIzaSyaAYTqGh4HMvRn4xCamoQ-AZbmdVZsgDNo4",
  "fbRemoteAppId": "1:2960116619276:android:b4ecf159b119ec86",
  "fieldCollector": {
    "canCollectAll": true
  }
}

This file has the following properties:

Please do not Edit any of the fields. Contact DR Support for any changes

  1. organizationType: Defines the type of Organisation. Valid values are static/dynamic.

  2. organization: Name of the Organisation. Will be shared by the DR Team.
    a. This will be empty in case of dynamic organisation Type

  3. organizationId: Id of the Organisation in DR databases, will be shared by the DR Team.
    a. This will be empty in case of dynamic organisation Type

  4. baseOrganization: Base Organisation name. This would needed in case of dynamic organisation

  5. orgSelection: Selection of the Org based on the either of the criteria.
    a. Applicable only dynamic type of organisation.
    i. HOST_APP
    ii. MCC

  6. timerTriggerConfig: Duration between the remote config sync between two calls.
    a. Usually 3 days time

  7. version: Current version of the drconfig
    a. Current version is at 3

  8. isSdkBuild: Identifies if this build is SDk or preload. If true, then it is SDK. False it would be preload

  9. FCM Project details
    • fcmProjectId
    • fcmSenderId
    • fbRemoteProjectId
    • fbRemoteAPIKey: AIzaSyAYTqGh4HMvRn4xCamoQ-AZbmdVZsgDNo4
    • fbRemoteAppId: 1:296011661976:android:b4ecf159b119ec86,

  10. fieldCollector: List of fields which needs to be opted in from SDK / Preload
    • canCollectAll: When set to True all the information is collect. When False, only the fields which are listed are handled.