Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17564] Crittercism: Add support for Customizing the Version Name

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-10-13T18:21:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.2, Release 3.5.0
ComponentsAndroid
LabelssupportTeam
ReporterEduardo Gomez
AssigneeGary Mathews
Created2014-07-01T21:39:53.000+0000
Updated2015-01-06T01:38:30.000+0000

Description

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

Comments

  1. Ingo Muschenetz 2014-08-26

    Are they doing this already for iOS using: http://docs.crittercism.com/ios/ios.html#other-tasks?
  2. Eduardo Gomez 2014-08-26

    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
  3. Gary Mathews 2014-09-22

    PR : https://github.com/appcelerator-modules/com.appcelerator.apm/pull/7
  4. Wilson Luu 2015-01-06

    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)

JSON Source