[TIMOB-16913] Android: Create --build-type in CLI and integrate it with the sdk
GitHub Issue | n/a |
---|---|
Type | Technical task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-05-09T05:29:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2014 Sprint 09, 2014 Sprint 09 SDK, Release 3.3.0 |
Components | Android, Tooling |
Labels | n/a |
Reporter | Allen Yeung |
Assignee | Allen Yeung |
Created | 2014-05-05T17:58:20.000+0000 |
Updated | 2017-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.
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'
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/5665 aps_sdk: https://github.com/appcelerator/aps_sdk/pull/26
Closing ticket as fixed.