Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16913] Android: Create --build-type in CLI and integrate it with the sdk

GitHub Issuen/a
TypeTechnical task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-05-09T05:29:34.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 09, 2014 Sprint 09 SDK, Release 3.3.0
ComponentsAndroid, Tooling
Labelsn/a
ReporterAllen Yeung
AssigneeAllen Yeung
Created2014-05-05T17:58:20.000+0000
Updated2017-03-09T00:10:21.000+0000

Description

Two changes need to be made: 1. Change CLI to accept a --build-type flag, and pass this information to the sdk 2. Inside the sdk, check to see if there is a valid build-type. If there is, use this as the 'buildtype' value inside analytics. Otherwise, don't send a 'buildtype' at all.

Comments

  1. Allen Yeung 2014-05-06

    Test steps: 1. Create a new project 2. Setup your device to test against staging: https://wiki.appcelerator.org/display/tp/Analytics+Test+Plan 3. Build the project from the command line and pass in a build-type "ti build -p android -T device --build-type abc123" 4. Verify that the enroll/foreground event contains a buildtype field of 'abc123'
  2. Allen Yeung 2014-05-06

    titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/5665 aps_sdk: https://github.com/appcelerator/aps_sdk/pull/26
  3. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source