Skip to content

Partner Configuration File

Vinayaga Sundar edited this page Nov 13, 2017 · 1 revision

Partner Configuration file

The configuration file contains the information need by the Partner Apps. You'll find partner_config.json files under partnerapp/src/main/res/raw path in the app

partner.id - Id used by the Partner.
partner.public_key - Public Key used by Genie SDK for encrypting the Private data.
partner.channel - List of the channel used as a filter for display, search content.
partner.audience - It'll take two possible values like learner and instructor.
partner.language - Set the display language in the Application.
partner.tag - Create Program Tag using the given information from the array list.

{
  "partner": {
    "id": "org.ekstep.ipa.sample",  
    "public_key": "PUBLIC_KEY",  
    "channel": [    
      "channel"
    ],
    "audience": [ 
      "learner"
    ],
    "language": "en",  
    "tag": [       
      {
        "name": "name",
        "desc": "desc",
        "startDate": "2017-05-16",
        "endDate": "2017-05-26"
      }
    ]
  }
}

Clone this wiki locally