[TIMOB-14270] Android: Add support for New Relic module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-21T23:52:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 13 Core, 2013 Sprint 13, Release 3.1.2, Release 3.2.0 |
Components | Android |
Labels | module_android, qe-testadded |
Reporter | Ingo Muschenetz |
Assignee | Ingo Muschenetz |
Created | 2013-06-18T18:02:00.000+0000 |
Updated | 2013-07-10T09:04:21.000+0000 |
Description
This change modifies the Android builder script to look for the New Relic module, and if present passes an additional argument to the dx command when it is called. This allows New Relic to do bytecode rewriting for instrumentation.
The Java agent argument to dx is passed via a temporary file to avoid issues the dx command has with spaces in file paths. This temporary file is cleaned up after dx runs.
PR is https://github.com/appcelerator/titanium_mobile/pull/4399. The module is located for https://www.dropbox.com/s/ql7znupcmbamoqn/ti.newrelic-android-0.1.zip for testing purposes.
Hi all, Steps to test: 1. Copy and unzip the ti.newrelic-android-0.1.zip zipfile into your Titanium SDK directory, with other modules. 2. Register the module with your application by editing
tiapp.xml
and adding the module.3_1_X PR https://github.com/appcelerator/titanium_mobile/pull/4411
@Jared when will the modules for NewRelic on iOS and Android be available to Titanium?
Verified with: Titanium sdk: 3.1.2.v20130708163051 Studio: 3.1.2.201307031935 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1 OS: Mountain Lion 10.8