Providing settings for HWC application can be set manually and also can be set by using SAP Afaria MDM automatically while you install application through afaria. If your company uses Afaria and distribute application through it so this is the basic method and i suggest to use this method.
Basically you can provide those setting by creating a simple text file with .cfg extension.
1- Create .cfg extension file
The name prefix for file should start with Sybase_Messaging_ and rest of it will the application ID and version of the application. For instance, your application id is com.test.hwc and version 2.2 so the file name will be as
For IOS you can get application ID and version on xcode in summary tab;
For Android you can get application ID and version in AndroidManfiest.xml file;
And also if you created a policy on Afaria and attached application you can get as below;
2- Fill the file with the configuration settings
Open the file with text editor and add the following settings separated by a semicolon.
0 – No preference. The application implementation decides what is the default method to use
1 – Default to automatic registration using password authentication
2 – Default to manual registration
3 – Default to automatic registration using a provisioned certificate from Afaria. (Afaria Certificate)
4 – Default to automatic registration using certificate from a local source preferred. (Local Certificate)
3- Add the created file to the Policy you created in Afaria for distribution
In Application setting go to Conguriton tab and select text(file) radio button then attach the .cfg file. Then publish the application.