Feature Request
To expose setCustomVersionName Crittercism method since customer would like to be able to customise version name for the performance management section of our Platform.
Android docs
This configuration option allows you to customize the app version diagnostic that is reported to Crittercism. It will allow you to filter crashes, handled exceptions, app loads, and service monitoring data by a custom app version, and this version will appear in the Proguard mapping upload page of the website.
For library versions 3.1.4 and above, use an instance of CrittercismConfig as shown in the following code example:
import com.crittercism.app.Crittercism;
import com.crittercism.app.CrittercismConfig;
import android.os.Bundle;
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// create the CrittercismConfig instance.
CrittercismConfig config = new CrittercismConfig();
String myCustomVersionName = "My Custom Version Name";
// set the custom version name.
config.setCustomVersionName(myCustomVersionName);
// initialize.
Crittercism.initialize(getApplicationContext(),
"<CRITTERCISM_APP_ID>", crittercismConfig);
}
-
http://docs.crittercism.com/android/android.html#setting-advanced-crittercism-options
Are they doing this already for iOS using: http://docs.crittercism.com/ios/ios.html#other-tasks?
For iOS they are following this document describing how to create a custom version for the performance management section of our platform: http://docs.crittercism.com/ios/ios.html?highlight=cralternateversion#customizing-the-app-version-reported-to-crittercism
PR : https://github.com/appcelerator-modules/com.appcelerator.apm/pull/7
Closing ticket as fixed. Using the sample app in the com.appcelerator.apm module, I was able to specify a custom version name (e.g. 2.2.2 or bobversion) and view the data in Crittercism iframe. Tested on: Appcelerator Studio, build: 3.4.1.201410281743 SDK build: 3.5.0.v20141222103320 com.appcelerator.apm: 1.0.10 CLI: 3.4.1 Alloy: 1.5.1 Devices: Samsung Galaxy S4 (4.4.2), Nexus 5 (5.0)