- Add a reference to the DevMateKit.dll into your project.
- Assign values to the
DMFrameworkSettingsproperties (note that all properties must be declared):
DMFrameworkSettings.CompanyName = "CompanyName"; DMFrameworkSettings.ApplicationName = "ApplicationName"; DMFrameworkSettings.ApplicationBundleId = "com.application.name"; DMFrameworkSettings.ApplicationVersion = "1.0.0"; DMFrameworkSettings.Localization = "en";
|Name of your company. A value cannot be null or empty.|
|Name of your application. A value cannot be null or empty.|
|Bundle ID of your application. You specify it on the DevMate Dashboard when you add an application. A value cannot be null or empty. Example: com.application.name.|
|Current version of the application. Must contain two to four integer numbers divided by point. Example: 1.0, 1.0.0, or 126.96.36.199.|
|Languages of the application UI and exceptions. DevMate supports the following languages: "de", "en", "es-ES", "fr", "it", "ja", "pl", "pt-br", "ru" (case insensitive). If a set language is similar to any of the listed ones, DevMate accepts it but uses the most appropriate supported language. For example, "fr-FR" uses “fr”, while "pt" uses “pt-BR”.|
- Add the
DMFrameworkSettings.IsFirstRun = false;
On first clean run of the application, the
IsFirstRunproperty must be set to “true”. In this case, DevMate will receive a report from the application that contains data on the first actual launch of the app. This command is needed to be run once.
Purpose of this property with the "false" value is not to launch DevMate Kit for the application first run, postponing it to the second run. For example in case when you need to perform basic installation and restart application immediately after that.
- Call the following method after assigning values to