- Add a reference to the DevMateKit.dll into your project.
- Assign values to the
DMFrameworkSettings
properties (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";
Property | Description |
---|---|
CompanyName | Name of your company. A value cannot be null or empty. |
ApplicationName | Name of your application. A value cannot be null or empty. |
ApplicationBundleId | 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. |
ApplicationVersion | Current version of the application. Must contain two to four integer numbers divided by point. Example: 1.0, 1.0.0, or 1.0.0.0. |
Localization | 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”. |
Configure Tracking
- Add the
IsFirstRun
property toDMFrameworkSettings
:
DMFrameworkSettings.IsFirstRun = false;
NOTE
On first clean run of the application, the
IsFirstRun
property 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
DMFrameworkSettings
:
TrackingFramework.Current.ApplicationStarted();